@mjhls/mjh-framework 1.0.1047 → 1.0.1049
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 -6
- package/dist/cjs/AD300x250x600.js +5 -6
- package/dist/cjs/AD728x90.js +6 -7
- package/dist/cjs/ADFloatingFooter.js +8 -9
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -9
- package/dist/cjs/{ADInfeed-bd867e67.js → ADInfeed-0519664d.js} +6 -6
- package/dist/cjs/ADSkyscraper.js +8 -9
- package/dist/cjs/ADSponsoredResources.js +8 -9
- package/dist/cjs/ADWebcast.js +8 -9
- package/dist/cjs/ADWelcome.js +12 -13
- package/dist/cjs/{ADlgInfeed-f0bd969f.js → ADlgInfeed-e544ac1c.js} +4 -4
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -10
- package/dist/cjs/AdSlotsProvider.js +5 -6
- package/dist/cjs/AlgoliaSearch.js +1409 -896
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +15 -16
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -12
- package/dist/cjs/ArticleSeriesListing.js +29 -30
- package/dist/cjs/Auth.js +84 -1537
- package/dist/cjs/AuthWrapper.js +315 -1497
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CEDeckSupabase.js +68 -69
- package/dist/cjs/CMEDeck.js +61 -62
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +27 -28
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +50 -51
- package/dist/cjs/DeckContent.js +67 -68
- package/dist/cjs/DeckQueue.js +58 -59
- package/dist/cjs/DeckQueuePaginated.js +47 -48
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +35 -36
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +135 -136
- package/dist/cjs/GridContentPaginated.js +122 -123
- package/dist/cjs/GridHero.js +27 -27
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +120 -120
- package/dist/cjs/Header.js +25 -25
- package/dist/cjs/HealthCareProfessionalModal.js +18 -18
- package/dist/cjs/Hero.js +6 -6
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +29 -30
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-294d3fc0.js → ImageSlider-62a43659.js} +221 -164
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +49 -50
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +17 -18
- package/dist/cjs/MasterDeck.js +47 -48
- package/dist/cjs/MasterDeckPaginated.js +37 -38
- package/dist/cjs/{MediaSeriesCard-1bf0726f.js → MediaSeriesCard-3ee52557.js} +17 -17
- package/dist/cjs/MediaSeriesLanding.js +43 -44
- package/dist/cjs/MediaSeriesLandingPaginated.js +42 -43
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-fa5fae05.js → NavFooter-b7b16d48.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 +50 -50
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +50 -52
- package/dist/cjs/PartnerDetailListingPaginated.js +49 -51
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +25 -9
- package/dist/cjs/PodcastsLanding.js +23 -24
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +14 -15
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-03de3225.js → PublicationFeature-e945bd55.js} +29 -29
- package/dist/cjs/PublicationLanding.js +99 -99
- package/dist/cjs/QueueDeckExpanded.js +246 -247
- package/dist/cjs/QueueDeckExpandedPaginated.js +223 -224
- 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/Segment.js +10 -5
- package/dist/cjs/SeriesListingDeck.js +18 -19
- package/dist/cjs/{SeriesSlider-621d0cbb.js → SeriesSlider-edcb8e4b.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-f874175b.js → SocialSearchComponent-e9ec9c63.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +12 -13
- package/dist/cjs/TemplateNormal.js +27 -28
- package/dist/cjs/ThumbnailCard.js +11 -11
- package/dist/cjs/{Tooltip-f075b7ef.js → Tooltip-980a1d1a.js} +493 -608
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +29 -30
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -12
- package/dist/cjs/VideoSeriesListing.js +46 -47
- package/dist/cjs/View.js +238 -239
- package/dist/cjs/YahooHero.js +23 -23
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
- package/dist/cjs/getSerializers.js +7 -8
- package/dist/cjs/{getTargeting-5b954783.js → getTargeting-45ffbee8.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/{index-f6e6f06c.js → index-46b63e4b.js} +491 -491
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
- package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-f51609ab.js → index.esm-2ea9e9ff.js} +14 -14
- package/dist/cjs/index.js +105 -107
- package/dist/cjs/{main-1ec1de84.js → main-47be4f9f.js} +13 -13
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +1 -2
- package/dist/esm/AD300x250x600.js +1 -2
- package/dist/esm/AD728x90.js +1 -2
- package/dist/esm/ADFloatingFooter.js +1 -2
- package/dist/esm/ADGutter.js +1 -2
- package/dist/esm/ADSkyscraper.js +1 -2
- package/dist/esm/ADSponsoredResources.js +1 -2
- package/dist/esm/ADWebcast.js +1 -2
- package/dist/esm/ADWelcome.js +1 -2
- package/dist/esm/AdSlot.js +1 -2
- package/dist/esm/AdSlotsProvider.js +1 -2
- package/dist/esm/AlgoliaSearch.js +1026 -513
- package/dist/esm/ArticleProgramLandingPage.js +3 -4
- package/dist/esm/ArticleSeriesLandingPage.js +3 -4
- package/dist/esm/ArticleSeriesListing.js +1 -2
- package/dist/esm/Auth.js +9 -1463
- package/dist/esm/AuthWrapper.js +288 -1470
- package/dist/esm/CEDeckSupabase.js +2 -3
- package/dist/esm/CMEDeck.js +1 -2
- package/dist/esm/Column3.js +1 -2
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/ContentCardPaginated.js +4 -5
- package/dist/esm/DeckContent.js +11 -12
- package/dist/esm/DeckQueue.js +2 -3
- package/dist/esm/DeckQueuePaginated.js +3 -4
- package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
- package/dist/esm/EventsDeck.js +18 -18
- package/dist/esm/ExternalResources.js +4 -5
- package/dist/esm/GridContent.js +4 -5
- package/dist/esm/GridContentPaginated.js +5 -6
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/HealthCareProfessionalModal.js +1 -1
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -4
- package/dist/esm/{ImageSlider-497e9c88.js → ImageSlider-aea3a615.js} +67 -10
- package/dist/esm/IssueLanding.js +34 -35
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +1 -2
- package/dist/esm/MasterDeck.js +11 -12
- package/dist/esm/MasterDeckPaginated.js +12 -13
- package/dist/esm/{MediaSeriesCard-5c02f4f8.js → MediaSeriesCard-0f3cb954.js} +2 -2
- package/dist/esm/MediaSeriesLanding.js +13 -14
- package/dist/esm/MediaSeriesLandingPaginated.js +14 -15
- package/dist/esm/NavMagazine.js +10 -10
- package/dist/esm/NavNative.js +9 -9
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +6 -8
- package/dist/esm/PartnerDetailListingPaginated.js +7 -9
- package/dist/esm/PixelTracking.js +17 -1
- package/dist/esm/PodcastsLanding.js +6 -7
- package/dist/esm/PubSection.js +4 -5
- package/dist/esm/PublicationLanding.js +26 -26
- package/dist/esm/QueueDeckExpanded.js +4 -5
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
- package/dist/esm/RelatedContent.js +28 -28
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Segment.js +10 -5
- package/dist/esm/SeriesListingDeck.js +2 -3
- package/dist/esm/{SeriesSlider-07be99e0.js → SeriesSlider-2e83e861.js} +4 -4
- package/dist/esm/SideFooter.js +2 -2
- package/dist/esm/TaxonomyDescription.js +3 -4
- package/dist/esm/TemplateNormal.js +1 -2
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/{Tooltip-95655b44.js → Tooltip-51957f7c.js} +55 -170
- package/dist/esm/VideoProgramLandingPage.js +3 -4
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +3 -4
- package/dist/esm/VideoSeriesListing.js +1 -2
- package/dist/esm/View.js +7 -8
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +4 -4
- package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
- package/dist/esm/getSerializers.js +3 -4
- package/dist/esm/{getTargeting-5a281334.js → getTargeting-a569a9cc.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
- package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
- package/dist/esm/{index-ae9b808b.js → index-be57519b.js} +2 -2
- package/dist/esm/index.js +11 -13
- package/package.json +116 -116
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/esm/{ADInfeed-3cc60b4c.js → ADInfeed-c3f5613e.js} +0 -0
- /package/dist/esm/{ADlgInfeed-3f8b476a.js → ADlgInfeed-2b148f3f.js} +0 -0
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
5
5
|
var reactBootstrap = require('react-bootstrap');
|
|
6
6
|
var urlFor = require('./urlFor.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-7435b964.js');
|
|
8
8
|
var Router = require('next/router');
|
|
9
9
|
var index$1 = require('./index-187c967e.js');
|
|
10
10
|
var PropTypes = require('prop-types');
|
|
@@ -12,14 +12,14 @@ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
|
12
12
|
var util = require('./util-93a37fd0.js');
|
|
13
13
|
require('./Beam.js');
|
|
14
14
|
var Segment = require('./Segment.js');
|
|
15
|
-
var main = require('./main-
|
|
16
|
-
var BlockContent = require('./BlockContent-
|
|
15
|
+
var main = require('./main-47be4f9f.js');
|
|
16
|
+
var BlockContent = require('./BlockContent-96b44364.js');
|
|
17
17
|
var _extends = require('./extends-be0d85bc.js');
|
|
18
18
|
var urlForFile = require('./urlForFile-5084fc48.js');
|
|
19
|
-
var index$2 = require('./index-
|
|
19
|
+
var index$2 = require('./index-65621b6c.js');
|
|
20
20
|
var asyncToGenerator = require('./asyncToGenerator-65df6bf8.js');
|
|
21
21
|
var _typeof$1 = require('./typeof-220bbf73.js');
|
|
22
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-
|
|
22
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-4c7825a1.js');
|
|
23
23
|
var stringify = require('./stringify-f7a37a8d.js');
|
|
24
24
|
var core_getIteratorMethod = require('./core.get-iterator-method-5643aa10.js');
|
|
25
25
|
var _objectToArray = require('./_object-to-array-9337ba83.js');
|
|
@@ -33,7 +33,7 @@ var moment = require('./moment-aca40de1.js');
|
|
|
33
33
|
var SocialShare = require('./SocialShare.js');
|
|
34
34
|
var toConsumableArray = require('./toConsumableArray-d7797c2b.js');
|
|
35
35
|
var Pagination = require('react-bootstrap/Pagination');
|
|
36
|
-
var entities = require('./entities-
|
|
36
|
+
var entities = require('./entities-3f9d0f2f.js');
|
|
37
37
|
var AdSlot = require('./AdSlot.js');
|
|
38
38
|
var Row = require('react-bootstrap/Row');
|
|
39
39
|
var Col = require('react-bootstrap/Col');
|
|
@@ -67,7 +67,7 @@ var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
|
67
67
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
68
68
|
var pageNumber = selectedIndex + 1;
|
|
69
69
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
70
|
-
Router__default[
|
|
70
|
+
Router__default["default"].push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
71
71
|
};
|
|
72
72
|
|
|
73
73
|
var Slideshow$1 = function Slideshow(_ref) {
|
|
@@ -97,27 +97,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
97
97
|
if (pageview) pageview(router.asPath);
|
|
98
98
|
}, [router]);
|
|
99
99
|
|
|
100
|
-
return React__default[
|
|
100
|
+
return React__default["default"].createElement(
|
|
101
101
|
'div',
|
|
102
102
|
{ className: 'mt-3 mb-3' },
|
|
103
|
-
React__default[
|
|
103
|
+
React__default["default"].createElement(
|
|
104
104
|
reactBootstrap.Carousel,
|
|
105
105
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
106
106
|
return onChangeSlide(selectedIndex, router);
|
|
107
107
|
}, interval: null },
|
|
108
108
|
slides && slides.map(function (slide) {
|
|
109
|
-
return React__default[
|
|
109
|
+
return React__default["default"].createElement(
|
|
110
110
|
reactBootstrap.Carousel.Item,
|
|
111
111
|
{ key: slide._key },
|
|
112
|
-
React__default[
|
|
112
|
+
React__default["default"].createElement(
|
|
113
113
|
'picture',
|
|
114
114
|
null,
|
|
115
|
-
React__default[
|
|
116
|
-
React__default[
|
|
117
|
-
React__default[
|
|
118
|
-
React__default[
|
|
115
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
116
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
117
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
118
|
+
React__default["default"].createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
119
119
|
),
|
|
120
|
-
slide.caption && React__default[
|
|
120
|
+
slide.caption && React__default["default"].createElement(
|
|
121
121
|
'p',
|
|
122
122
|
{ className: 'p-2' },
|
|
123
123
|
slide.caption
|
|
@@ -1864,9 +1864,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1864
1864
|
}, {
|
|
1865
1865
|
key: "render",
|
|
1866
1866
|
value: function render() {
|
|
1867
|
-
return /*#__PURE__*/React__default[
|
|
1867
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1868
1868
|
className: this.props.containerClassName
|
|
1869
|
-
}, /*#__PURE__*/React__default[
|
|
1869
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1870
1870
|
id: this.props.id,
|
|
1871
1871
|
className: this.props.className,
|
|
1872
1872
|
ref: this.refContainer,
|
|
@@ -1876,7 +1876,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1876
1876
|
}]);
|
|
1877
1877
|
|
|
1878
1878
|
return YouTube;
|
|
1879
|
-
}(React__default[
|
|
1879
|
+
}(React__default["default"].Component);
|
|
1880
1880
|
|
|
1881
1881
|
_defineProperty(YouTube, "PlayerState", {
|
|
1882
1882
|
UNSTARTED: -1,
|
|
@@ -1888,28 +1888,28 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1888
1888
|
});
|
|
1889
1889
|
|
|
1890
1890
|
YouTube.propTypes = {
|
|
1891
|
-
videoId: PropTypes__default[
|
|
1891
|
+
videoId: PropTypes__default["default"].string,
|
|
1892
1892
|
// custom ID for player element
|
|
1893
|
-
id: PropTypes__default[
|
|
1893
|
+
id: PropTypes__default["default"].string,
|
|
1894
1894
|
// custom class name for player element
|
|
1895
|
-
className: PropTypes__default[
|
|
1895
|
+
className: PropTypes__default["default"].string,
|
|
1896
1896
|
// custom class name for player container element
|
|
1897
|
-
containerClassName: PropTypes__default[
|
|
1897
|
+
containerClassName: PropTypes__default["default"].string,
|
|
1898
1898
|
// custom title for the iFrame, see https://www.w3.org/TR/WCAG20-TECHS/H64.html
|
|
1899
|
-
title: PropTypes__default[
|
|
1899
|
+
title: PropTypes__default["default"].string,
|
|
1900
1900
|
// custom loading for player element
|
|
1901
|
-
loading: PropTypes__default[
|
|
1901
|
+
loading: PropTypes__default["default"].oneOf(['lazy', 'eager', 'auto']),
|
|
1902
1902
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1903
|
-
opts: PropTypes__default[
|
|
1903
|
+
opts: PropTypes__default["default"].objectOf(PropTypes__default["default"].any),
|
|
1904
1904
|
// event subscriptions
|
|
1905
|
-
onReady: PropTypes__default[
|
|
1906
|
-
onError: PropTypes__default[
|
|
1907
|
-
onPlay: PropTypes__default[
|
|
1908
|
-
onPause: PropTypes__default[
|
|
1909
|
-
onEnd: PropTypes__default[
|
|
1910
|
-
onStateChange: PropTypes__default[
|
|
1911
|
-
onPlaybackRateChange: PropTypes__default[
|
|
1912
|
-
onPlaybackQualityChange: PropTypes__default[
|
|
1905
|
+
onReady: PropTypes__default["default"].func,
|
|
1906
|
+
onError: PropTypes__default["default"].func,
|
|
1907
|
+
onPlay: PropTypes__default["default"].func,
|
|
1908
|
+
onPause: PropTypes__default["default"].func,
|
|
1909
|
+
onEnd: PropTypes__default["default"].func,
|
|
1910
|
+
onStateChange: PropTypes__default["default"].func,
|
|
1911
|
+
onPlaybackRateChange: PropTypes__default["default"].func,
|
|
1912
|
+
onPlaybackQualityChange: PropTypes__default["default"].func
|
|
1913
1913
|
};
|
|
1914
1914
|
YouTube.defaultProps = {
|
|
1915
1915
|
videoId: null,
|
|
@@ -2029,11 +2029,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2029
2029
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2030
2030
|
};
|
|
2031
2031
|
|
|
2032
|
-
return React__default[
|
|
2032
|
+
return React__default["default"].createElement(
|
|
2033
2033
|
'div',
|
|
2034
2034
|
{ id: 'fluid-video-container' },
|
|
2035
|
-
React__default[
|
|
2036
|
-
React__default[
|
|
2035
|
+
React__default["default"].createElement(YouTube, { className: 'fluid-iframe', loading: 'lazy', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2036
|
+
React__default["default"].createElement(
|
|
2037
2037
|
'style',
|
|
2038
2038
|
{ jsx: 'true' },
|
|
2039
2039
|
'\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 '
|
|
@@ -2046,20 +2046,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2046
2046
|
content = _ref.content,
|
|
2047
2047
|
getSerializers = _ref.getSerializers;
|
|
2048
2048
|
|
|
2049
|
-
return React__default[
|
|
2049
|
+
return React__default["default"].createElement(
|
|
2050
2050
|
'article',
|
|
2051
2051
|
{ className: 'sidebar' },
|
|
2052
|
-
React__default[
|
|
2052
|
+
React__default["default"].createElement(
|
|
2053
2053
|
'div',
|
|
2054
2054
|
null,
|
|
2055
|
-
React__default[
|
|
2055
|
+
React__default["default"].createElement(
|
|
2056
2056
|
'h3',
|
|
2057
2057
|
null,
|
|
2058
2058
|
caption
|
|
2059
2059
|
),
|
|
2060
|
-
React__default[
|
|
2060
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2061
2061
|
),
|
|
2062
|
-
React__default[
|
|
2062
|
+
React__default["default"].createElement(
|
|
2063
2063
|
'style',
|
|
2064
2064
|
{ jsx: 'true' },
|
|
2065
2065
|
'\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 '
|
|
@@ -2070,18 +2070,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2070
2070
|
var TableShow = function TableShow(_ref) {
|
|
2071
2071
|
var rows = _ref.rows;
|
|
2072
2072
|
|
|
2073
|
-
return React__default[
|
|
2073
|
+
return React__default["default"].createElement(
|
|
2074
2074
|
reactBootstrap.Table,
|
|
2075
2075
|
{ bordered: true, hover: true, responsive: true },
|
|
2076
|
-
React__default[
|
|
2076
|
+
React__default["default"].createElement(
|
|
2077
2077
|
'tbody',
|
|
2078
2078
|
null,
|
|
2079
2079
|
rows && rows.map(function (row) {
|
|
2080
|
-
return React__default[
|
|
2080
|
+
return React__default["default"].createElement(
|
|
2081
2081
|
'tr',
|
|
2082
2082
|
{ key: row._key },
|
|
2083
2083
|
row.cells && row.cells.map(function (cell, index) {
|
|
2084
|
-
return cell && React__default[
|
|
2084
|
+
return cell && React__default["default"].createElement(
|
|
2085
2085
|
'td',
|
|
2086
2086
|
{ key: index },
|
|
2087
2087
|
cell
|
|
@@ -2181,25 +2181,25 @@ var Media = function Media(_ref) {
|
|
|
2181
2181
|
margin: imageMargin
|
|
2182
2182
|
};
|
|
2183
2183
|
|
|
2184
|
-
return React__default[
|
|
2184
|
+
return React__default["default"].createElement(
|
|
2185
2185
|
reactBootstrap.Figure,
|
|
2186
2186
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2187
|
-
React__default[
|
|
2187
|
+
React__default["default"].createElement(
|
|
2188
2188
|
'a',
|
|
2189
2189
|
{ href: urlForFile.urlForFile({ asset: uploadDoc.asset }, baseUrl), target: blank ? '_blank' : '_self' },
|
|
2190
|
-
React__default[
|
|
2190
|
+
React__default["default"].createElement(
|
|
2191
2191
|
index$2.LazyLoad,
|
|
2192
2192
|
{ once: true },
|
|
2193
|
-
React__default[
|
|
2193
|
+
React__default["default"].createElement(
|
|
2194
2194
|
'picture',
|
|
2195
2195
|
null,
|
|
2196
|
-
React__default[
|
|
2197
|
-
React__default[
|
|
2198
|
-
React__default[
|
|
2199
|
-
React__default[
|
|
2196
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2197
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2198
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2199
|
+
React__default["default"].createElement('img', _extends._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2200
2200
|
)
|
|
2201
2201
|
),
|
|
2202
|
-
caption && React__default[
|
|
2202
|
+
caption && React__default["default"].createElement(
|
|
2203
2203
|
reactBootstrap.Figure.Caption,
|
|
2204
2204
|
{ className: 'media-caption' },
|
|
2205
2205
|
caption
|
|
@@ -2207,7 +2207,7 @@ var Media = function Media(_ref) {
|
|
|
2207
2207
|
)
|
|
2208
2208
|
);
|
|
2209
2209
|
} else if (caption && caption !== '') {
|
|
2210
|
-
return React__default[
|
|
2210
|
+
return React__default["default"].createElement(
|
|
2211
2211
|
'a',
|
|
2212
2212
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2213
2213
|
href: urlForFile.urlForFile({ asset: uploadDoc.asset }, baseUrl) + '?dl='
|
|
@@ -2227,10 +2227,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2227
2227
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2228
2228
|
|
|
2229
2229
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2230
|
-
return React__default[
|
|
2230
|
+
return React__default["default"].createElement(
|
|
2231
2231
|
'div',
|
|
2232
2232
|
{ className: 'd-block text-center mb-3' },
|
|
2233
|
-
React__default[
|
|
2233
|
+
React__default["default"].createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2234
2234
|
);
|
|
2235
2235
|
};
|
|
2236
2236
|
|
|
@@ -2258,30 +2258,30 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2258
2258
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2259
2259
|
|
|
2260
2260
|
var choiceArray = choices.map(function (choice) {
|
|
2261
|
-
return React__default[
|
|
2261
|
+
return React__default["default"].createElement(
|
|
2262
2262
|
'div',
|
|
2263
2263
|
{ className: 'radioButton form-check form-check-inline' },
|
|
2264
|
-
React__default[
|
|
2265
|
-
React__default[
|
|
2264
|
+
React__default["default"].createElement('input', { name: question, value: choice.choiceText, id: choice.choiceText + ',' + question, type: 'radio', onClick: handlePollAnswer }),
|
|
2265
|
+
React__default["default"].createElement(
|
|
2266
2266
|
'label',
|
|
2267
2267
|
{ className: 'form-check-label', 'for': choice.choiceText + ',' + question, style: { cursor: 'pointer' } },
|
|
2268
2268
|
choice.choiceText
|
|
2269
2269
|
)
|
|
2270
2270
|
);
|
|
2271
2271
|
});
|
|
2272
|
-
return React__default[
|
|
2272
|
+
return React__default["default"].createElement(
|
|
2273
2273
|
'div',
|
|
2274
2274
|
{
|
|
2275
2275
|
key: 'inline-radio',
|
|
2276
2276
|
className: 'radioContainer' },
|
|
2277
|
-
React__default[
|
|
2277
|
+
React__default["default"].createElement(
|
|
2278
2278
|
'h2',
|
|
2279
2279
|
{
|
|
2280
2280
|
className: 'radioLabelText'
|
|
2281
2281
|
},
|
|
2282
2282
|
question
|
|
2283
2283
|
),
|
|
2284
|
-
React__default[
|
|
2284
|
+
React__default["default"].createElement(
|
|
2285
2285
|
'div',
|
|
2286
2286
|
{
|
|
2287
2287
|
className: 'multiChoiceDiv'
|
|
@@ -2296,19 +2296,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2296
2296
|
textAnswer = _ref.textAnswer,
|
|
2297
2297
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2298
2298
|
|
|
2299
|
-
return React__default[
|
|
2299
|
+
return React__default["default"].createElement(
|
|
2300
2300
|
'div',
|
|
2301
2301
|
{
|
|
2302
2302
|
className: 'textInputDiv'
|
|
2303
2303
|
},
|
|
2304
|
-
React__default[
|
|
2304
|
+
React__default["default"].createElement(
|
|
2305
2305
|
'h2',
|
|
2306
2306
|
{
|
|
2307
2307
|
className: 'textInputQuestion'
|
|
2308
2308
|
},
|
|
2309
2309
|
textInputQuestion
|
|
2310
2310
|
),
|
|
2311
|
-
React__default[
|
|
2311
|
+
React__default["default"].createElement(Form__default["default"].Control, {
|
|
2312
2312
|
type: 'text',
|
|
2313
2313
|
className: 'textInput',
|
|
2314
2314
|
value: textAnswer,
|
|
@@ -2436,47 +2436,47 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2436
2436
|
pollItems.forEach(function (item, ind) {
|
|
2437
2437
|
if (!item.atStart) {
|
|
2438
2438
|
if (item.format === 'multiChoice') {
|
|
2439
|
-
pollArray.push(React__default[
|
|
2439
|
+
pollArray.push(React__default["default"].createElement(PopupMultiChoice, { question: item.question, choices: item.choices, handlePollAnswer: handlePollAnswer, key: ind }));
|
|
2440
2440
|
}
|
|
2441
2441
|
if (item.format === 'textInput') {
|
|
2442
|
-
pollArray.push(React__default[
|
|
2442
|
+
pollArray.push(React__default["default"].createElement(PopupPollTextInput, { textInputQuestion: item.question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2443
2443
|
}
|
|
2444
2444
|
} else {
|
|
2445
2445
|
if (item.pollItems[0] && item.pollItems[0].format === 'multiChoice') {
|
|
2446
|
-
pollArray.push(React__default[
|
|
2446
|
+
pollArray.push(React__default["default"].createElement(PopupMultiChoice, { question: item.pollItems[0].question, choices: item.pollItems[0].choices, handlePollAnswer: handleMultiItemPollAnswers, key: ind }));
|
|
2447
2447
|
}
|
|
2448
2448
|
if (item.pollItems[0] && item.pollItems[0].format === 'textInput') {
|
|
2449
|
-
pollArray.push(React__default[
|
|
2449
|
+
pollArray.push(React__default["default"].createElement(PopupPollTextInput, { textInputQuestion: item.pollItems[0].question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2450
2450
|
}
|
|
2451
2451
|
}
|
|
2452
2452
|
});
|
|
2453
2453
|
|
|
2454
|
-
return React__default[
|
|
2454
|
+
return React__default["default"].createElement(
|
|
2455
2455
|
'div',
|
|
2456
2456
|
{ className: 'modalDiv', id: 'modalDiv' },
|
|
2457
|
-
React__default[
|
|
2458
|
-
Modal__default[
|
|
2457
|
+
React__default["default"].createElement(
|
|
2458
|
+
Modal__default["default"].Dialog,
|
|
2459
2459
|
{ className: pollItems.length > 1 ? 'modal-dialog-overflow' : null, scrollable: pollItems.length > 1 },
|
|
2460
|
-
props.closeable && React__default[
|
|
2460
|
+
props.closeable && React__default["default"].createElement(Modal__default["default"].Header, { closeButton: true, onClick: function onClick() {
|
|
2461
2461
|
return restartPlayer();
|
|
2462
2462
|
} }),
|
|
2463
|
-
React__default[
|
|
2464
|
-
Modal__default[
|
|
2463
|
+
React__default["default"].createElement(
|
|
2464
|
+
Modal__default["default"].Body,
|
|
2465
2465
|
null,
|
|
2466
|
-
React__default[
|
|
2467
|
-
Form__default[
|
|
2466
|
+
React__default["default"].createElement(
|
|
2467
|
+
Form__default["default"],
|
|
2468
2468
|
{ onSubmit: handleSubmit, className: 'modalForm' },
|
|
2469
2469
|
pollArray,
|
|
2470
|
-
textInputRender && !multiChoiceRender ? React__default[
|
|
2471
|
-
Button__default[
|
|
2470
|
+
textInputRender && !multiChoiceRender ? React__default["default"].createElement(
|
|
2471
|
+
Button__default["default"],
|
|
2472
2472
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !textAnswer },
|
|
2473
2473
|
'Submit'
|
|
2474
|
-
) : !textInputRender && multiChoiceRender ? React__default[
|
|
2475
|
-
Button__default[
|
|
2474
|
+
) : !textInputRender && multiChoiceRender ? React__default["default"].createElement(
|
|
2475
|
+
Button__default["default"],
|
|
2476
2476
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !pollAnswer },
|
|
2477
2477
|
'Submit'
|
|
2478
|
-
) : React__default[
|
|
2479
|
-
Button__default[
|
|
2478
|
+
) : React__default["default"].createElement(
|
|
2479
|
+
Button__default["default"],
|
|
2480
2480
|
{ className: 'submitButton', type: 'submit', variant: 'success' },
|
|
2481
2481
|
'Submit'
|
|
2482
2482
|
)
|
|
@@ -2639,10 +2639,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2639
2639
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2640
2640
|
};
|
|
2641
2641
|
|
|
2642
|
-
return React__default[
|
|
2642
|
+
return React__default["default"].createElement(
|
|
2643
2643
|
'div',
|
|
2644
2644
|
null,
|
|
2645
|
-
isPollingTime ? React__default[
|
|
2645
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2646
2646
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2647
2647
|
, { pollItems: pollItems
|
|
2648
2648
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2656,7 +2656,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2656
2656
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2657
2657
|
, multiChoiceRender: multiChoiceRender
|
|
2658
2658
|
}) : null,
|
|
2659
|
-
vidLoaded && React__default[
|
|
2659
|
+
vidLoaded && React__default["default"].createElement(
|
|
2660
2660
|
'video',
|
|
2661
2661
|
{
|
|
2662
2662
|
poster: thumbnail || '',
|
|
@@ -2674,7 +2674,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2674
2674
|
onPlay: function onPlay(e) {
|
|
2675
2675
|
return handleOnPlay(e);
|
|
2676
2676
|
} },
|
|
2677
|
-
React__default[
|
|
2677
|
+
React__default["default"].createElement('source', { src: url, type: 'video/mp4' }),
|
|
2678
2678
|
'Your browser does not support the video tag.'
|
|
2679
2679
|
)
|
|
2680
2680
|
);
|
|
@@ -2934,10 +2934,10 @@ var Video = function Video(_ref) {
|
|
|
2934
2934
|
|
|
2935
2935
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2936
2936
|
if (videoID) {
|
|
2937
|
-
return React__default[
|
|
2937
|
+
return React__default["default"].createElement(
|
|
2938
2938
|
'div',
|
|
2939
2939
|
null,
|
|
2940
|
-
isPollingTime ? React__default[
|
|
2940
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2941
2941
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2942
2942
|
, { pollItems: pollItems
|
|
2943
2943
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2953,7 +2953,7 @@ var Video = function Video(_ref) {
|
|
|
2953
2953
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2954
2954
|
, closeable: node.polls && node.polls[0] ? node.polls[0].closeable : null
|
|
2955
2955
|
}) : null,
|
|
2956
|
-
React__default[
|
|
2956
|
+
React__default["default"].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2957
2957
|
onSuccess: onVideoSuccess,
|
|
2958
2958
|
onFailure: onVideoFailure,
|
|
2959
2959
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2961,17 +2961,17 @@ var Video = function Video(_ref) {
|
|
|
2961
2961
|
playerId: accountIDs.brightcove.playerId,
|
|
2962
2962
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2963
2963
|
}),
|
|
2964
|
-
React__default[
|
|
2964
|
+
React__default["default"].createElement(
|
|
2965
2965
|
'style',
|
|
2966
2966
|
{ jsx: 'true' },
|
|
2967
2967
|
'\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 '
|
|
2968
2968
|
)
|
|
2969
2969
|
);
|
|
2970
2970
|
} else if (playlistID) {
|
|
2971
|
-
return React__default[
|
|
2971
|
+
return React__default["default"].createElement(
|
|
2972
2972
|
'div',
|
|
2973
2973
|
null,
|
|
2974
|
-
isPollingTime ? React__default[
|
|
2974
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
2975
2975
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2976
2976
|
, { pollItems: pollItems
|
|
2977
2977
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2987,7 +2987,7 @@ var Video = function Video(_ref) {
|
|
|
2987
2987
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2988
2988
|
, closeable: node.polls && node.polls[0] ? node.polls[0].closeable : null
|
|
2989
2989
|
}) : null,
|
|
2990
|
-
React__default[
|
|
2990
|
+
React__default["default"].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2991
2991
|
accountId: accountIDs.brightcove.accountId,
|
|
2992
2992
|
playlistId: playlistID,
|
|
2993
2993
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2995,18 +2995,18 @@ var Video = function Video(_ref) {
|
|
|
2995
2995
|
onFailure: onVideoFailure,
|
|
2996
2996
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2997
2997
|
}),
|
|
2998
|
-
React__default[
|
|
2998
|
+
React__default["default"].createElement(
|
|
2999
2999
|
'style',
|
|
3000
3000
|
{ jsx: 'true' },
|
|
3001
3001
|
'\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 '
|
|
3002
3002
|
)
|
|
3003
3003
|
);
|
|
3004
3004
|
} else if (experienceID) {
|
|
3005
|
-
return React__default[
|
|
3005
|
+
return React__default["default"].createElement(
|
|
3006
3006
|
'div',
|
|
3007
3007
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
3008
|
-
React__default[
|
|
3009
|
-
isPollingTime ? React__default[
|
|
3008
|
+
React__default["default"].createElement('div', { 'data-experience': experienceID }),
|
|
3009
|
+
isPollingTime ? React__default["default"].createElement(PopupPollModal
|
|
3010
3010
|
// eslint-disable-next-line react/jsx-indent-props
|
|
3011
3011
|
, { pollItems: pollItems
|
|
3012
3012
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -3029,10 +3029,10 @@ var Video = function Video(_ref) {
|
|
|
3029
3029
|
}
|
|
3030
3030
|
|
|
3031
3031
|
if (source === 'mp4') {
|
|
3032
|
-
return React__default[
|
|
3032
|
+
return React__default["default"].createElement(
|
|
3033
3033
|
'div',
|
|
3034
3034
|
null,
|
|
3035
|
-
React__default[
|
|
3035
|
+
React__default["default"].createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
3036
3036
|
);
|
|
3037
3037
|
}
|
|
3038
3038
|
|
|
@@ -3047,7 +3047,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3047
3047
|
});
|
|
3048
3048
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
3049
3049
|
|
|
3050
|
-
var _propTypes = _interopRequireDefault(PropTypes__default[
|
|
3050
|
+
var _propTypes = _interopRequireDefault(PropTypes__default["default"]);
|
|
3051
3051
|
|
|
3052
3052
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
3053
3053
|
|
|
@@ -3637,7 +3637,7 @@ function isEqual(a, b) {
|
|
|
3637
3637
|
return true;
|
|
3638
3638
|
}
|
|
3639
3639
|
|
|
3640
|
-
if ((0, React__default[
|
|
3640
|
+
if ((0, React__default["default"].isValidElement)(a) && (0, React__default["default"].isValidElement)(b)) {
|
|
3641
3641
|
return true;
|
|
3642
3642
|
}
|
|
3643
3643
|
|
|
@@ -3699,7 +3699,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3699
3699
|
});
|
|
3700
3700
|
exports["default"] = void 0;
|
|
3701
3701
|
|
|
3702
|
-
var _react = _interopRequireWildcard(React__default[
|
|
3702
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
3703
3703
|
|
|
3704
3704
|
|
|
3705
3705
|
|
|
@@ -4109,7 +4109,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4109
4109
|
});
|
|
4110
4110
|
exports["default"] = createSinglePlayer;
|
|
4111
4111
|
|
|
4112
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4112
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4113
4113
|
|
|
4114
4114
|
|
|
4115
4115
|
|
|
@@ -4267,7 +4267,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4267
4267
|
});
|
|
4268
4268
|
exports["default"] = exports.YouTube = void 0;
|
|
4269
4269
|
|
|
4270
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4270
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4271
4271
|
|
|
4272
4272
|
|
|
4273
4273
|
|
|
@@ -4576,7 +4576,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4576
4576
|
});
|
|
4577
4577
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4578
4578
|
|
|
4579
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4579
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4580
4580
|
|
|
4581
4581
|
|
|
4582
4582
|
|
|
@@ -4793,7 +4793,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4793
4793
|
});
|
|
4794
4794
|
exports["default"] = exports.Vimeo = void 0;
|
|
4795
4795
|
|
|
4796
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4796
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
4797
4797
|
|
|
4798
4798
|
|
|
4799
4799
|
|
|
@@ -5049,7 +5049,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5049
5049
|
});
|
|
5050
5050
|
exports["default"] = exports.Facebook = void 0;
|
|
5051
5051
|
|
|
5052
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5052
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5053
5053
|
|
|
5054
5054
|
|
|
5055
5055
|
|
|
@@ -5261,7 +5261,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5261
5261
|
});
|
|
5262
5262
|
exports["default"] = exports.Streamable = void 0;
|
|
5263
5263
|
|
|
5264
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5264
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5265
5265
|
|
|
5266
5266
|
|
|
5267
5267
|
|
|
@@ -5472,7 +5472,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5472
5472
|
});
|
|
5473
5473
|
exports["default"] = exports.Wistia = void 0;
|
|
5474
5474
|
|
|
5475
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5475
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5476
5476
|
|
|
5477
5477
|
|
|
5478
5478
|
|
|
@@ -5715,7 +5715,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5715
5715
|
});
|
|
5716
5716
|
exports["default"] = exports.Twitch = void 0;
|
|
5717
5717
|
|
|
5718
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5718
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5719
5719
|
|
|
5720
5720
|
|
|
5721
5721
|
|
|
@@ -5931,7 +5931,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5931
5931
|
});
|
|
5932
5932
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5933
5933
|
|
|
5934
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5934
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
5935
5935
|
|
|
5936
5936
|
|
|
5937
5937
|
|
|
@@ -6167,7 +6167,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6167
6167
|
});
|
|
6168
6168
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6169
6169
|
|
|
6170
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6170
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
6171
6171
|
|
|
6172
6172
|
|
|
6173
6173
|
|
|
@@ -6366,7 +6366,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6366
6366
|
});
|
|
6367
6367
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6368
6368
|
|
|
6369
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6369
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
6370
6370
|
|
|
6371
6371
|
|
|
6372
6372
|
|
|
@@ -6933,7 +6933,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6933
6933
|
});
|
|
6934
6934
|
exports["default"] = void 0;
|
|
6935
6935
|
|
|
6936
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6936
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
6937
6937
|
|
|
6938
6938
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6939
6939
|
|
|
@@ -7112,7 +7112,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7112
7112
|
});
|
|
7113
7113
|
exports["default"] = renderPreloadPlayers;
|
|
7114
7114
|
|
|
7115
|
-
var _react = _interopRequireDefault(React__default[
|
|
7115
|
+
var _react = _interopRequireDefault(React__default["default"]);
|
|
7116
7116
|
|
|
7117
7117
|
var _Player = _interopRequireDefault(Player_1);
|
|
7118
7118
|
|
|
@@ -7251,7 +7251,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7251
7251
|
});
|
|
7252
7252
|
exports["default"] = void 0;
|
|
7253
7253
|
|
|
7254
|
-
var _react = _interopRequireWildcard(React__default[
|
|
7254
|
+
var _react = _interopRequireWildcard(React__default["default"]);
|
|
7255
7255
|
|
|
7256
7256
|
|
|
7257
7257
|
|
|
@@ -7567,7 +7567,7 @@ var Audio = function Audio(_ref) {
|
|
|
7567
7567
|
var audioSource = node && node.uploadAudio ? node.uploadAudio.asset.url : '';
|
|
7568
7568
|
var reportPlay = function reportPlay() {
|
|
7569
7569
|
console.log('Reporting audio playback play to GA');
|
|
7570
|
-
ReactGA__default[
|
|
7570
|
+
ReactGA__default["default"].event({
|
|
7571
7571
|
category: 'User',
|
|
7572
7572
|
action: 'Audio Play',
|
|
7573
7573
|
label: 'Play: ' + audioSource
|
|
@@ -7577,7 +7577,7 @@ var Audio = function Audio(_ref) {
|
|
|
7577
7577
|
};
|
|
7578
7578
|
var reportPause = function reportPause() {
|
|
7579
7579
|
console.log('Reporting audio playback pause to GA');
|
|
7580
|
-
ReactGA__default[
|
|
7580
|
+
ReactGA__default["default"].event({
|
|
7581
7581
|
category: 'User',
|
|
7582
7582
|
action: 'Audio Pause',
|
|
7583
7583
|
label: 'Pause: ' + audioSource
|
|
@@ -7587,7 +7587,7 @@ var Audio = function Audio(_ref) {
|
|
|
7587
7587
|
};
|
|
7588
7588
|
var reportEnd = function reportEnd() {
|
|
7589
7589
|
console.log('Reporting audio playback end to GA');
|
|
7590
|
-
ReactGA__default[
|
|
7590
|
+
ReactGA__default["default"].event({
|
|
7591
7591
|
category: 'User',
|
|
7592
7592
|
action: 'Audio Playback End',
|
|
7593
7593
|
label: 'Playback End: ' + audioSource
|
|
@@ -7596,10 +7596,10 @@ var Audio = function Audio(_ref) {
|
|
|
7596
7596
|
}));
|
|
7597
7597
|
};
|
|
7598
7598
|
if (node.uploadAudio) {
|
|
7599
|
-
return React__default[
|
|
7599
|
+
return React__default["default"].createElement(
|
|
7600
7600
|
'div',
|
|
7601
7601
|
{ className: 'audio d-block text-center mb-3' },
|
|
7602
|
-
React__default[
|
|
7602
|
+
React__default["default"].createElement(
|
|
7603
7603
|
'audio',
|
|
7604
7604
|
{
|
|
7605
7605
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7608,14 +7608,14 @@ var Audio = function Audio(_ref) {
|
|
|
7608
7608
|
onPause: reportPause,
|
|
7609
7609
|
onEnded: reportEnd
|
|
7610
7610
|
},
|
|
7611
|
-
React__default[
|
|
7612
|
-
React__default[
|
|
7611
|
+
React__default["default"].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7612
|
+
React__default["default"].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7613
7613
|
'Your browser does not support the audio element.'
|
|
7614
7614
|
),
|
|
7615
|
-
node.caption && React__default[
|
|
7615
|
+
node.caption && React__default["default"].createElement(
|
|
7616
7616
|
'p',
|
|
7617
7617
|
{ style: { fontSize: '.9rem' } },
|
|
7618
|
-
React__default[
|
|
7618
|
+
React__default["default"].createElement(
|
|
7619
7619
|
'em',
|
|
7620
7620
|
null,
|
|
7621
7621
|
node.caption
|
|
@@ -7625,15 +7625,15 @@ var Audio = function Audio(_ref) {
|
|
|
7625
7625
|
} else if (node.audioFilePth) {
|
|
7626
7626
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7627
7627
|
if (hostname === 'embeds.audioboom.com') {
|
|
7628
|
-
return React__default[
|
|
7628
|
+
return React__default["default"].createElement(
|
|
7629
7629
|
'div',
|
|
7630
7630
|
null,
|
|
7631
|
-
React__default[
|
|
7631
|
+
React__default["default"].createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7632
7632
|
' ',
|
|
7633
|
-
node.caption && React__default[
|
|
7633
|
+
node.caption && React__default["default"].createElement(
|
|
7634
7634
|
'p',
|
|
7635
7635
|
{ style: { fontSize: '.9rem' } },
|
|
7636
|
-
React__default[
|
|
7636
|
+
React__default["default"].createElement(
|
|
7637
7637
|
'em',
|
|
7638
7638
|
null,
|
|
7639
7639
|
node.caption
|
|
@@ -7641,10 +7641,10 @@ var Audio = function Audio(_ref) {
|
|
|
7641
7641
|
)
|
|
7642
7642
|
);
|
|
7643
7643
|
}
|
|
7644
|
-
return React__default[
|
|
7644
|
+
return React__default["default"].createElement(
|
|
7645
7645
|
'div',
|
|
7646
7646
|
{ className: 'audio' },
|
|
7647
|
-
React__default[
|
|
7647
|
+
React__default["default"].createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7648
7648
|
onPlay: reportPlay,
|
|
7649
7649
|
onPause: reportPause,
|
|
7650
7650
|
onEnded: reportEnd,
|
|
@@ -7652,10 +7652,10 @@ var Audio = function Audio(_ref) {
|
|
|
7652
7652
|
width: '100%',
|
|
7653
7653
|
height: '100%'
|
|
7654
7654
|
}),
|
|
7655
|
-
node.caption && React__default[
|
|
7655
|
+
node.caption && React__default["default"].createElement(
|
|
7656
7656
|
'p',
|
|
7657
7657
|
{ style: { fontSize: '.9rem' } },
|
|
7658
|
-
React__default[
|
|
7658
|
+
React__default["default"].createElement(
|
|
7659
7659
|
'em',
|
|
7660
7660
|
null,
|
|
7661
7661
|
node.caption
|
|
@@ -7674,34 +7674,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7674
7674
|
var showAuthorDetails = arguments[7];
|
|
7675
7675
|
|
|
7676
7676
|
if (authorName && authorURL) {
|
|
7677
|
-
return React__default[
|
|
7677
|
+
return React__default["default"].createElement(
|
|
7678
7678
|
'span',
|
|
7679
7679
|
null,
|
|
7680
|
-
React__default[
|
|
7680
|
+
React__default["default"].createElement(
|
|
7681
7681
|
'a',
|
|
7682
7682
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7683
7683
|
authorName
|
|
7684
7684
|
),
|
|
7685
|
-
showAuthorDetails && React__default[
|
|
7685
|
+
showAuthorDetails && React__default["default"].createElement(
|
|
7686
7686
|
reactBootstrap.Card,
|
|
7687
7687
|
{ className: 'author-details-card-' + index },
|
|
7688
|
-
React__default[
|
|
7688
|
+
React__default["default"].createElement(
|
|
7689
7689
|
reactBootstrap.Row,
|
|
7690
7690
|
null,
|
|
7691
|
-
profileImage && React__default[
|
|
7691
|
+
profileImage && React__default["default"].createElement(
|
|
7692
7692
|
reactBootstrap.Col,
|
|
7693
7693
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7694
|
-
React__default[
|
|
7694
|
+
React__default["default"].createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7695
7695
|
),
|
|
7696
|
-
React__default[
|
|
7696
|
+
React__default["default"].createElement(
|
|
7697
7697
|
reactBootstrap.Col,
|
|
7698
7698
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7699
|
-
React__default[
|
|
7699
|
+
React__default["default"].createElement(
|
|
7700
7700
|
'div',
|
|
7701
7701
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7702
7702
|
authorName
|
|
7703
7703
|
),
|
|
7704
|
-
React__default[
|
|
7704
|
+
React__default["default"].createElement(
|
|
7705
7705
|
'p',
|
|
7706
7706
|
null,
|
|
7707
7707
|
biography
|
|
@@ -7709,7 +7709,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7709
7709
|
)
|
|
7710
7710
|
)
|
|
7711
7711
|
),
|
|
7712
|
-
React__default[
|
|
7712
|
+
React__default["default"].createElement(
|
|
7713
7713
|
'style',
|
|
7714
7714
|
{ jsx: 'true' },
|
|
7715
7715
|
'\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 '
|
|
@@ -7717,7 +7717,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7717
7717
|
length !== index + 1 && ', '
|
|
7718
7718
|
);
|
|
7719
7719
|
} else if (authorName) {
|
|
7720
|
-
return React__default[
|
|
7720
|
+
return React__default["default"].createElement(
|
|
7721
7721
|
'span',
|
|
7722
7722
|
{ key: index },
|
|
7723
7723
|
authorName,
|
|
@@ -7989,44 +7989,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7989
7989
|
}
|
|
7990
7990
|
};
|
|
7991
7991
|
|
|
7992
|
-
return React__default[
|
|
7992
|
+
return React__default["default"].createElement(
|
|
7993
7993
|
'div',
|
|
7994
7994
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7995
|
-
React__default[
|
|
7995
|
+
React__default["default"].createElement(
|
|
7996
7996
|
'div',
|
|
7997
7997
|
{ className: 'mt-2 mb-5' },
|
|
7998
|
-
series && React__default[
|
|
7998
|
+
series && React__default["default"].createElement(
|
|
7999
7999
|
'div',
|
|
8000
8000
|
{ style: { fontSize: '0.9rem' } },
|
|
8001
8001
|
article.title,
|
|
8002
8002
|
' - Episode ',
|
|
8003
8003
|
series
|
|
8004
8004
|
),
|
|
8005
|
-
Videos[series - 1] && React__default[
|
|
8005
|
+
Videos[series - 1] && React__default["default"].createElement(
|
|
8006
8006
|
'h1',
|
|
8007
8007
|
{ className: 'mb-3' },
|
|
8008
8008
|
Videos[series - 1].title
|
|
8009
8009
|
),
|
|
8010
|
-
React__default[
|
|
8010
|
+
React__default["default"].createElement(
|
|
8011
8011
|
'div',
|
|
8012
8012
|
null,
|
|
8013
8013
|
moment.moment(article.published).format('LL')
|
|
8014
8014
|
),
|
|
8015
|
-
React__default[
|
|
8015
|
+
React__default["default"].createElement(
|
|
8016
8016
|
'div',
|
|
8017
8017
|
{ className: 'mb-3' },
|
|
8018
8018
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
8019
|
-
return React__default[
|
|
8019
|
+
return React__default["default"].createElement(
|
|
8020
8020
|
'span',
|
|
8021
8021
|
{ key: index },
|
|
8022
8022
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
8023
8023
|
);
|
|
8024
8024
|
})
|
|
8025
8025
|
),
|
|
8026
|
-
React__default[
|
|
8026
|
+
React__default["default"].createElement(
|
|
8027
8027
|
'p',
|
|
8028
8028
|
null,
|
|
8029
|
-
React__default[
|
|
8029
|
+
React__default["default"].createElement(SocialShare, {
|
|
8030
8030
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
8031
8031
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
8032
8032
|
shareVia: meta.shareVia,
|
|
@@ -8041,20 +8041,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8041
8041
|
hideFacebook: meta.hideFBShare
|
|
8042
8042
|
})
|
|
8043
8043
|
),
|
|
8044
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default[
|
|
8044
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default["default"].createElement(
|
|
8045
8045
|
'p',
|
|
8046
8046
|
{ className: 'mb-3' },
|
|
8047
|
-
React__default[
|
|
8047
|
+
React__default["default"].createElement(
|
|
8048
8048
|
'em',
|
|
8049
8049
|
null,
|
|
8050
8050
|
Videos[series - 1].intro
|
|
8051
8051
|
)
|
|
8052
8052
|
)
|
|
8053
8053
|
),
|
|
8054
|
-
React__default[
|
|
8054
|
+
React__default["default"].createElement(
|
|
8055
8055
|
'div',
|
|
8056
8056
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
8057
|
-
vidUrl && vidType == 'youtube' && React__default[
|
|
8057
|
+
vidUrl && vidType == 'youtube' && React__default["default"].createElement(YouTube, {
|
|
8058
8058
|
className: 'fluid-iframe',
|
|
8059
8059
|
loading: 'lazy',
|
|
8060
8060
|
videoId: index$1.getYoutubeId(vidUrl),
|
|
@@ -8066,10 +8066,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8066
8066
|
return handleOnEnd(e);
|
|
8067
8067
|
}
|
|
8068
8068
|
}),
|
|
8069
|
-
vidUrl && vidType == 'mp4' && React__default[
|
|
8070
|
-
vidUrl && vidType == 'brightcove' && React__default[
|
|
8071
|
-
React__default[
|
|
8072
|
-
series && React__default[
|
|
8069
|
+
vidUrl && vidType == 'mp4' && React__default["default"].createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
8070
|
+
vidUrl && vidType == 'brightcove' && React__default["default"].createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
8071
|
+
React__default["default"].createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
8072
|
+
series && React__default["default"].createElement(
|
|
8073
8073
|
'div',
|
|
8074
8074
|
{
|
|
8075
8075
|
className: 'vid-series',
|
|
@@ -8079,10 +8079,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8079
8079
|
maxHeight: '100%',
|
|
8080
8080
|
paddingBottom: '0'
|
|
8081
8081
|
} },
|
|
8082
|
-
React__default[
|
|
8082
|
+
React__default["default"].createElement(
|
|
8083
8083
|
'p',
|
|
8084
8084
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
8085
|
-
React__default[
|
|
8085
|
+
React__default["default"].createElement(
|
|
8086
8086
|
'b',
|
|
8087
8087
|
{ style: { fontSize: '1.25em' } },
|
|
8088
8088
|
'Now Playing:'
|
|
@@ -8090,16 +8090,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8090
8090
|
' ',
|
|
8091
8091
|
seriesData[series ? series - 1 : 0].title
|
|
8092
8092
|
),
|
|
8093
|
-
vidUrl && React__default[
|
|
8093
|
+
vidUrl && React__default["default"].createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
8094
8094
|
)
|
|
8095
8095
|
),
|
|
8096
|
-
React__default[
|
|
8097
|
-
React__default[
|
|
8096
|
+
React__default["default"].createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8097
|
+
React__default["default"].createElement(
|
|
8098
8098
|
'div',
|
|
8099
8099
|
{ className: 'vid-text' },
|
|
8100
|
-
Videos[series - 1] && Videos[series - 1].text && React__default[
|
|
8100
|
+
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()))
|
|
8101
8101
|
),
|
|
8102
|
-
React__default[
|
|
8102
|
+
React__default["default"].createElement(
|
|
8103
8103
|
'style',
|
|
8104
8104
|
{ jsx: 'true' },
|
|
8105
8105
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8152,67 +8152,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8152
8152
|
return acc;
|
|
8153
8153
|
}
|
|
8154
8154
|
}, 0);
|
|
8155
|
-
return React__default[
|
|
8156
|
-
React__default[
|
|
8155
|
+
return React__default["default"].createElement(
|
|
8156
|
+
React__default["default"].Fragment,
|
|
8157
8157
|
null,
|
|
8158
|
-
question && React__default[
|
|
8158
|
+
question && React__default["default"].createElement(
|
|
8159
8159
|
'p',
|
|
8160
8160
|
{ className: 'font-weight-bold' },
|
|
8161
8161
|
question
|
|
8162
8162
|
),
|
|
8163
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8163
|
+
!showAnswer && choices && choices.length > 0 && React__default["default"].createElement(
|
|
8164
8164
|
'form',
|
|
8165
8165
|
{ onSubmit: function onSubmit(e) {
|
|
8166
8166
|
return onSubmitPoll(e);
|
|
8167
8167
|
} },
|
|
8168
8168
|
choices && choices.map(function (choice) {
|
|
8169
|
-
return React__default[
|
|
8169
|
+
return React__default["default"].createElement(
|
|
8170
8170
|
'div',
|
|
8171
8171
|
{ key: choice._key },
|
|
8172
|
-
React__default[
|
|
8172
|
+
React__default["default"].createElement(
|
|
8173
8173
|
'label',
|
|
8174
8174
|
{ className: 'pl-2' },
|
|
8175
|
-
React__default[
|
|
8175
|
+
React__default["default"].createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8176
8176
|
return setSelectedChoice(e.target.value);
|
|
8177
8177
|
} }),
|
|
8178
8178
|
' ' + choice.choiceText
|
|
8179
8179
|
)
|
|
8180
8180
|
);
|
|
8181
8181
|
}),
|
|
8182
|
-
React__default[
|
|
8182
|
+
React__default["default"].createElement(
|
|
8183
8183
|
reactBootstrap.Button,
|
|
8184
8184
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8185
8185
|
'Vote'
|
|
8186
8186
|
)
|
|
8187
8187
|
),
|
|
8188
|
-
React__default[
|
|
8188
|
+
React__default["default"].createElement(
|
|
8189
8189
|
'div',
|
|
8190
8190
|
{ className: 'progress-container' },
|
|
8191
8191
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8192
8192
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8193
|
-
return React__default[
|
|
8193
|
+
return React__default["default"].createElement(
|
|
8194
8194
|
'div',
|
|
8195
8195
|
{ key: choice._key, className: 'mb-3' },
|
|
8196
|
-
React__default[
|
|
8196
|
+
React__default["default"].createElement(
|
|
8197
8197
|
'div',
|
|
8198
8198
|
{ className: 'correct-answer' },
|
|
8199
|
-
React__default[
|
|
8199
|
+
React__default["default"].createElement(
|
|
8200
8200
|
'div',
|
|
8201
8201
|
null,
|
|
8202
8202
|
choice.choiceText
|
|
8203
8203
|
),
|
|
8204
|
-
choice.choiceAnswer === true && React__default[
|
|
8204
|
+
choice.choiceAnswer === true && React__default["default"].createElement(
|
|
8205
8205
|
'div',
|
|
8206
8206
|
null,
|
|
8207
|
-
React__default[
|
|
8207
|
+
React__default["default"].createElement(
|
|
8208
8208
|
'span',
|
|
8209
8209
|
{ style: { color: 'limegreen' } },
|
|
8210
8210
|
'Correct!'
|
|
8211
8211
|
)
|
|
8212
8212
|
)
|
|
8213
8213
|
),
|
|
8214
|
-
React__default[
|
|
8215
|
-
React__default[
|
|
8214
|
+
React__default["default"].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8215
|
+
React__default["default"].createElement(
|
|
8216
8216
|
'span',
|
|
8217
8217
|
{ className: 'float-right' },
|
|
8218
8218
|
percentage,
|
|
@@ -8223,14 +8223,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8223
8223
|
);
|
|
8224
8224
|
})
|
|
8225
8225
|
),
|
|
8226
|
-
showAnswer && React__default[
|
|
8226
|
+
showAnswer && React__default["default"].createElement(
|
|
8227
8227
|
'h4',
|
|
8228
8228
|
{ className: 'text-center small p-3' },
|
|
8229
8229
|
'Total Votes: ',
|
|
8230
8230
|
choicesTotalCount
|
|
8231
8231
|
),
|
|
8232
|
-
showAnswer && response && React__default[
|
|
8233
|
-
React__default[
|
|
8232
|
+
showAnswer && response && React__default["default"].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8233
|
+
React__default["default"].createElement(
|
|
8234
8234
|
'style',
|
|
8235
8235
|
{ jsx: 'true' },
|
|
8236
8236
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8311,67 +8311,67 @@ var Poll = function Poll(_ref) {
|
|
|
8311
8311
|
return acc;
|
|
8312
8312
|
}
|
|
8313
8313
|
}, 0);
|
|
8314
|
-
return React__default[
|
|
8315
|
-
React__default[
|
|
8314
|
+
return React__default["default"].createElement(
|
|
8315
|
+
React__default["default"].Fragment,
|
|
8316
8316
|
null,
|
|
8317
|
-
question && React__default[
|
|
8317
|
+
question && React__default["default"].createElement(
|
|
8318
8318
|
'p',
|
|
8319
8319
|
{ className: 'font-weight-bold' },
|
|
8320
8320
|
question
|
|
8321
8321
|
),
|
|
8322
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8322
|
+
!showAnswer && choices && choices.length > 0 && React__default["default"].createElement(
|
|
8323
8323
|
'form',
|
|
8324
8324
|
{ onSubmit: function onSubmit(e) {
|
|
8325
8325
|
return onSubmitPoll(e);
|
|
8326
8326
|
} },
|
|
8327
8327
|
choices && choices.map(function (choice) {
|
|
8328
|
-
return React__default[
|
|
8328
|
+
return React__default["default"].createElement(
|
|
8329
8329
|
'div',
|
|
8330
8330
|
{ key: choice._key },
|
|
8331
|
-
React__default[
|
|
8331
|
+
React__default["default"].createElement(
|
|
8332
8332
|
'label',
|
|
8333
8333
|
{ className: 'pl-2' },
|
|
8334
|
-
React__default[
|
|
8334
|
+
React__default["default"].createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8335
8335
|
return setSelectedChoice(e.target.value);
|
|
8336
8336
|
} }),
|
|
8337
8337
|
' ' + choice.choiceText
|
|
8338
8338
|
)
|
|
8339
8339
|
);
|
|
8340
8340
|
}),
|
|
8341
|
-
React__default[
|
|
8341
|
+
React__default["default"].createElement(
|
|
8342
8342
|
reactBootstrap.Button,
|
|
8343
8343
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8344
8344
|
'Vote'
|
|
8345
8345
|
)
|
|
8346
8346
|
),
|
|
8347
|
-
React__default[
|
|
8347
|
+
React__default["default"].createElement(
|
|
8348
8348
|
'div',
|
|
8349
8349
|
{ className: 'progress-container' },
|
|
8350
8350
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8351
8351
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8352
|
-
return React__default[
|
|
8352
|
+
return React__default["default"].createElement(
|
|
8353
8353
|
'div',
|
|
8354
8354
|
{ key: choice._key, className: 'mb-3' },
|
|
8355
|
-
React__default[
|
|
8355
|
+
React__default["default"].createElement(
|
|
8356
8356
|
'div',
|
|
8357
8357
|
{ className: 'correct-answer' },
|
|
8358
|
-
React__default[
|
|
8358
|
+
React__default["default"].createElement(
|
|
8359
8359
|
'div',
|
|
8360
8360
|
null,
|
|
8361
8361
|
choice.choiceText
|
|
8362
8362
|
),
|
|
8363
|
-
choice.choiceAnswer === true && React__default[
|
|
8363
|
+
choice.choiceAnswer === true && React__default["default"].createElement(
|
|
8364
8364
|
'div',
|
|
8365
8365
|
null,
|
|
8366
|
-
React__default[
|
|
8366
|
+
React__default["default"].createElement(
|
|
8367
8367
|
'span',
|
|
8368
8368
|
{ style: { color: 'limegreen' } },
|
|
8369
8369
|
'Correct!'
|
|
8370
8370
|
)
|
|
8371
8371
|
)
|
|
8372
8372
|
),
|
|
8373
|
-
React__default[
|
|
8374
|
-
React__default[
|
|
8373
|
+
React__default["default"].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8374
|
+
React__default["default"].createElement(
|
|
8375
8375
|
'span',
|
|
8376
8376
|
{ className: 'float-right' },
|
|
8377
8377
|
percentage,
|
|
@@ -8382,14 +8382,14 @@ var Poll = function Poll(_ref) {
|
|
|
8382
8382
|
);
|
|
8383
8383
|
})
|
|
8384
8384
|
),
|
|
8385
|
-
showAnswer && React__default[
|
|
8385
|
+
showAnswer && React__default["default"].createElement(
|
|
8386
8386
|
'h4',
|
|
8387
8387
|
{ className: 'text-center small p-3' },
|
|
8388
8388
|
'Total Votes: ',
|
|
8389
8389
|
choicesTotalCount
|
|
8390
8390
|
),
|
|
8391
|
-
showAnswer && response && React__default[
|
|
8392
|
-
React__default[
|
|
8391
|
+
showAnswer && response && React__default["default"].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8392
|
+
React__default["default"].createElement(
|
|
8393
8393
|
'style',
|
|
8394
8394
|
{ jsx: 'true' },
|
|
8395
8395
|
'\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 '
|
|
@@ -8533,34 +8533,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8533
8533
|
};
|
|
8534
8534
|
|
|
8535
8535
|
var renderPagination = function renderPagination() {
|
|
8536
|
-
return React__default[
|
|
8537
|
-
Pagination__default[
|
|
8536
|
+
return React__default["default"].createElement(
|
|
8537
|
+
Pagination__default["default"],
|
|
8538
8538
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8539
|
-
React__default[
|
|
8539
|
+
React__default["default"].createElement(Pagination__default["default"].First, { onClick: function onClick() {
|
|
8540
8540
|
return changePage('first');
|
|
8541
8541
|
}, disabled: currentPage === 1 }),
|
|
8542
|
-
React__default[
|
|
8542
|
+
React__default["default"].createElement(Pagination__default["default"].Prev, { onClick: function onClick() {
|
|
8543
8543
|
return changePage('prev');
|
|
8544
8544
|
}, disabled: currentPage === 1 }),
|
|
8545
|
-
React__default[
|
|
8545
|
+
React__default["default"].createElement(Pagination__default["default"].Ellipsis, { onClick: function onClick() {
|
|
8546
8546
|
return renderNewPages('prev');
|
|
8547
8547
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8548
8548
|
pages.map(function (page) {
|
|
8549
|
-
return React__default[
|
|
8550
|
-
Pagination__default[
|
|
8549
|
+
return React__default["default"].createElement(
|
|
8550
|
+
Pagination__default["default"].Item,
|
|
8551
8551
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8552
8552
|
return changePage(page);
|
|
8553
8553
|
} },
|
|
8554
8554
|
page
|
|
8555
8555
|
);
|
|
8556
8556
|
}),
|
|
8557
|
-
React__default[
|
|
8557
|
+
React__default["default"].createElement(Pagination__default["default"].Ellipsis, { onClick: function onClick() {
|
|
8558
8558
|
return renderNewPages('next');
|
|
8559
8559
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8560
|
-
React__default[
|
|
8560
|
+
React__default["default"].createElement(Pagination__default["default"].Next, { onClick: function onClick() {
|
|
8561
8561
|
return changePage('next');
|
|
8562
8562
|
}, disabled: currentPage === pageCount }),
|
|
8563
|
-
React__default[
|
|
8563
|
+
React__default["default"].createElement(Pagination__default["default"].Last, { onClick: function onClick() {
|
|
8564
8564
|
return changePage('last');
|
|
8565
8565
|
}, disabled: currentPage === pageCount })
|
|
8566
8566
|
);
|
|
@@ -8671,49 +8671,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8671
8671
|
}
|
|
8672
8672
|
};
|
|
8673
8673
|
|
|
8674
|
-
return React__default[
|
|
8675
|
-
React__default[
|
|
8674
|
+
return React__default["default"].createElement(
|
|
8675
|
+
React__default["default"].Fragment,
|
|
8676
8676
|
null,
|
|
8677
|
-
quizzes[currentPage - 1] && React__default[
|
|
8678
|
-
React__default[
|
|
8677
|
+
quizzes[currentPage - 1] && React__default["default"].createElement(
|
|
8678
|
+
React__default["default"].Fragment,
|
|
8679
8679
|
null,
|
|
8680
|
-
React__default[
|
|
8681
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default[
|
|
8680
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8681
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default["default"].createElement(
|
|
8682
8682
|
'form',
|
|
8683
8683
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8684
8684
|
return e.preventDefault();
|
|
8685
8685
|
} },
|
|
8686
8686
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8687
|
-
return React__default[
|
|
8687
|
+
return React__default["default"].createElement(
|
|
8688
8688
|
'div',
|
|
8689
8689
|
{ key: answer._key },
|
|
8690
|
-
React__default[
|
|
8690
|
+
React__default["default"].createElement(
|
|
8691
8691
|
'label',
|
|
8692
8692
|
{ className: 'pl-2' },
|
|
8693
|
-
quizzes[currentPage - 1].multiAnswer ? React__default[
|
|
8693
|
+
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 }),
|
|
8694
8694
|
' ' + answer.answerText
|
|
8695
8695
|
)
|
|
8696
8696
|
);
|
|
8697
8697
|
})
|
|
8698
8698
|
)
|
|
8699
8699
|
),
|
|
8700
|
-
!showAnswer && React__default[
|
|
8701
|
-
Button__default[
|
|
8700
|
+
!showAnswer && React__default["default"].createElement(
|
|
8701
|
+
Button__default["default"],
|
|
8702
8702
|
{ onClick: function onClick(e) {
|
|
8703
8703
|
return checkAnswers(e);
|
|
8704
8704
|
}, variant: 'info', block: true },
|
|
8705
8705
|
'Please click here for answer'
|
|
8706
8706
|
),
|
|
8707
|
-
quizzes[currentPage - 1] && showAnswer && React__default[
|
|
8708
|
-
React__default[
|
|
8707
|
+
quizzes[currentPage - 1] && showAnswer && React__default["default"].createElement(
|
|
8708
|
+
React__default["default"].Fragment,
|
|
8709
8709
|
null,
|
|
8710
|
-
quizzes[currentPage - 1].answer && React__default[
|
|
8710
|
+
quizzes[currentPage - 1].answer && React__default["default"].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8711
8711
|
),
|
|
8712
|
-
React__default[
|
|
8713
|
-
firstRender && React__default[
|
|
8714
|
-
React__default[
|
|
8712
|
+
React__default["default"].createElement('br', null),
|
|
8713
|
+
firstRender && React__default["default"].createElement(
|
|
8714
|
+
React__default["default"].Fragment,
|
|
8715
8715
|
null,
|
|
8716
|
-
pageCount > 1 && currentPage && React__default[
|
|
8716
|
+
pageCount > 1 && currentPage && React__default["default"].createElement(
|
|
8717
8717
|
'div',
|
|
8718
8718
|
{ className: 'd-flex justify-content-center' },
|
|
8719
8719
|
renderPagination()
|
|
@@ -8725,15 +8725,15 @@ var Quiz = function Quiz(_ref) {
|
|
|
8725
8725
|
var Leads = function Leads(_ref) {
|
|
8726
8726
|
var url = _ref.url;
|
|
8727
8727
|
|
|
8728
|
-
return React__default[
|
|
8728
|
+
return React__default["default"].createElement(
|
|
8729
8729
|
'div',
|
|
8730
8730
|
{ className: 'd-block text-center mb-3' },
|
|
8731
|
-
React__default[
|
|
8731
|
+
React__default["default"].createElement(
|
|
8732
8732
|
'style',
|
|
8733
8733
|
{ jsx: 'true' },
|
|
8734
8734
|
'\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 '
|
|
8735
8735
|
),
|
|
8736
|
-
url && React__default[
|
|
8736
|
+
url && React__default["default"].createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8737
8737
|
);
|
|
8738
8738
|
};
|
|
8739
8739
|
|
|
@@ -8775,49 +8775,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8775
8775
|
if (pageview) pageview(href);
|
|
8776
8776
|
};
|
|
8777
8777
|
|
|
8778
|
-
return React__default[
|
|
8778
|
+
return React__default["default"].createElement(
|
|
8779
8779
|
'div',
|
|
8780
8780
|
{ className: 'mt-3 mb-4' },
|
|
8781
|
-
React__default[
|
|
8781
|
+
React__default["default"].createElement(
|
|
8782
8782
|
reactBootstrap.Carousel,
|
|
8783
8783
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8784
8784
|
slides && slides.map(function (slide) {
|
|
8785
8785
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8786
|
-
return React__default[
|
|
8786
|
+
return React__default["default"].createElement(
|
|
8787
8787
|
reactBootstrap.Carousel.Item,
|
|
8788
8788
|
{ key: slide._key },
|
|
8789
|
-
React__default[
|
|
8789
|
+
React__default["default"].createElement(
|
|
8790
8790
|
'a',
|
|
8791
8791
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8792
|
-
React__default[
|
|
8792
|
+
React__default["default"].createElement(
|
|
8793
8793
|
'div',
|
|
8794
8794
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8795
|
-
React__default[
|
|
8795
|
+
React__default["default"].createElement(
|
|
8796
8796
|
'picture',
|
|
8797
8797
|
null,
|
|
8798
|
-
React__default[
|
|
8799
|
-
React__default[
|
|
8800
|
-
React__default[
|
|
8801
|
-
React__default[
|
|
8798
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8799
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8800
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8801
|
+
React__default["default"].createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8802
8802
|
)
|
|
8803
8803
|
)
|
|
8804
8804
|
),
|
|
8805
|
-
React__default[
|
|
8805
|
+
React__default["default"].createElement(
|
|
8806
8806
|
'div',
|
|
8807
8807
|
{ className: 'p-2' },
|
|
8808
|
-
slide.slideshowImage.caption && React__default[
|
|
8808
|
+
slide.slideshowImage.caption && React__default["default"].createElement(
|
|
8809
8809
|
'h3',
|
|
8810
8810
|
{ style: { padding: '0px' } },
|
|
8811
8811
|
slide.slideshowImage.caption
|
|
8812
8812
|
),
|
|
8813
|
-
slide.description && React__default[
|
|
8813
|
+
slide.description && React__default["default"].createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8814
8814
|
)
|
|
8815
8815
|
);
|
|
8816
8816
|
}
|
|
8817
8817
|
return null;
|
|
8818
8818
|
})
|
|
8819
8819
|
),
|
|
8820
|
-
React__default[
|
|
8820
|
+
React__default["default"].createElement(
|
|
8821
8821
|
'style',
|
|
8822
8822
|
{ jsx: 'true' },
|
|
8823
8823
|
'\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 '
|
|
@@ -8836,10 +8836,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8836
8836
|
sizes = _props$node.sizes,
|
|
8837
8837
|
sizeMapping = _props$node.sizeMapping;
|
|
8838
8838
|
|
|
8839
|
-
return React__default[
|
|
8839
|
+
return React__default["default"].createElement(
|
|
8840
8840
|
'div',
|
|
8841
8841
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8842
|
-
React__default[
|
|
8842
|
+
React__default["default"].createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8843
8843
|
);
|
|
8844
8844
|
};
|
|
8845
8845
|
|
|
@@ -8850,15 +8850,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8850
8850
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8851
8851
|
|
|
8852
8852
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8853
|
-
return React__default[
|
|
8853
|
+
return React__default["default"].createElement(
|
|
8854
8854
|
'section',
|
|
8855
8855
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8856
|
-
Caption && React__default[
|
|
8856
|
+
Caption && React__default["default"].createElement(
|
|
8857
8857
|
'h4',
|
|
8858
8858
|
{ className: 'formstack-caption' },
|
|
8859
8859
|
Caption
|
|
8860
8860
|
),
|
|
8861
|
-
React__default[
|
|
8861
|
+
React__default["default"].createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8862
8862
|
);
|
|
8863
8863
|
};
|
|
8864
8864
|
|
|
@@ -8877,36 +8877,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8877
8877
|
var baseUrl = client ? client.config().baseUrl : '';
|
|
8878
8878
|
|
|
8879
8879
|
if (medias && medias.length > 0) {
|
|
8880
|
-
return React__default[
|
|
8880
|
+
return React__default["default"].createElement(
|
|
8881
8881
|
'div',
|
|
8882
8882
|
{ className: 'multi-media-container' },
|
|
8883
|
-
React__default[
|
|
8884
|
-
Row__default[
|
|
8883
|
+
React__default["default"].createElement(
|
|
8884
|
+
Row__default["default"],
|
|
8885
8885
|
{ noGutters: true },
|
|
8886
8886
|
medias.map(function (media) {
|
|
8887
|
-
return React__default[
|
|
8888
|
-
Col__default[
|
|
8887
|
+
return React__default["default"].createElement(
|
|
8888
|
+
Col__default["default"],
|
|
8889
8889
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8890
|
-
React__default[
|
|
8890
|
+
React__default["default"].createElement(
|
|
8891
8891
|
'a',
|
|
8892
8892
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile.urlForFile({ asset: media.upload_doc.asset }, baseUrl), target: media.blank ? '_blank' : '_self' }, {
|
|
8893
8893
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8894
|
-
React__default[
|
|
8894
|
+
React__default["default"].createElement(
|
|
8895
8895
|
'div',
|
|
8896
8896
|
{ className: 'multi-media-image-container' },
|
|
8897
|
-
imageBox && React__default[
|
|
8897
|
+
imageBox && React__default["default"].createElement(
|
|
8898
8898
|
index$2.LazyLoad,
|
|
8899
8899
|
{ once: true },
|
|
8900
|
-
React__default[
|
|
8900
|
+
React__default["default"].createElement(
|
|
8901
8901
|
'picture',
|
|
8902
8902
|
null,
|
|
8903
|
-
React__default[
|
|
8904
|
-
React__default[
|
|
8905
|
-
React__default[
|
|
8906
|
-
React__default[
|
|
8903
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8904
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8905
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8906
|
+
React__default["default"].createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8907
8907
|
)
|
|
8908
8908
|
),
|
|
8909
|
-
media.caption && React__default[
|
|
8909
|
+
media.caption && React__default["default"].createElement(
|
|
8910
8910
|
'span',
|
|
8911
8911
|
{ className: 'multi-media-caption' },
|
|
8912
8912
|
media.caption
|
|
@@ -8916,7 +8916,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8916
8916
|
);
|
|
8917
8917
|
})
|
|
8918
8918
|
),
|
|
8919
|
-
React__default[
|
|
8919
|
+
React__default["default"].createElement(
|
|
8920
8920
|
'style',
|
|
8921
8921
|
{ jsx: 'true' },
|
|
8922
8922
|
'\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 '
|
|
@@ -8963,7 +8963,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8963
8963
|
}
|
|
8964
8964
|
};
|
|
8965
8965
|
|
|
8966
|
-
_this.wraperRef = React__default[
|
|
8966
|
+
_this.wraperRef = React__default["default"].createRef();
|
|
8967
8967
|
_this.visible = false;
|
|
8968
8968
|
return _this;
|
|
8969
8969
|
}
|
|
@@ -8991,7 +8991,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8991
8991
|
_props$id = _props.id,
|
|
8992
8992
|
id = _props$id === undefined ? '' : _props$id;
|
|
8993
8993
|
|
|
8994
|
-
return React__default[
|
|
8994
|
+
return React__default["default"].createElement(
|
|
8995
8995
|
'div',
|
|
8996
8996
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8997
8997
|
this.props.children
|
|
@@ -9000,7 +9000,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
9000
9000
|
}]);
|
|
9001
9001
|
|
|
9002
9002
|
return InscreenSensor;
|
|
9003
|
-
}(React__default[
|
|
9003
|
+
}(React__default["default"].Component);
|
|
9004
9004
|
|
|
9005
9005
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
9006
9006
|
var nodes = _ref.nodes,
|
|
@@ -9111,33 +9111,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9111
9111
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9112
9112
|
var showReading = show ? 'showReading' : '';
|
|
9113
9113
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9114
|
-
return React__default[
|
|
9114
|
+
return React__default["default"].createElement(
|
|
9115
9115
|
'div',
|
|
9116
9116
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9117
|
-
React__default[
|
|
9117
|
+
React__default["default"].createElement(
|
|
9118
9118
|
'a',
|
|
9119
9119
|
{ onClick: function onClick(e) {
|
|
9120
9120
|
return articleCardClickHandler(e);
|
|
9121
9121
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9122
|
-
React__default[
|
|
9122
|
+
React__default["default"].createElement(
|
|
9123
9123
|
'div',
|
|
9124
9124
|
{ className: 'prevNext-thumbnail' },
|
|
9125
|
-
React__default[
|
|
9126
|
-
React__default[
|
|
9125
|
+
React__default["default"].createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9126
|
+
React__default["default"].createElement(
|
|
9127
9127
|
'div',
|
|
9128
9128
|
{ className: 'prevNext-reading ' + showReading },
|
|
9129
9129
|
articleLabel
|
|
9130
9130
|
)
|
|
9131
9131
|
),
|
|
9132
|
-
React__default[
|
|
9132
|
+
React__default["default"].createElement(
|
|
9133
9133
|
'div',
|
|
9134
9134
|
{ className: 'prevNext-summary' },
|
|
9135
|
-
React__default[
|
|
9135
|
+
React__default["default"].createElement(
|
|
9136
9136
|
'div',
|
|
9137
9137
|
{ className: 'prevNext-publishDate' },
|
|
9138
9138
|
moment.moment(article.published).format('LL')
|
|
9139
9139
|
),
|
|
9140
|
-
React__default[
|
|
9140
|
+
React__default["default"].createElement(
|
|
9141
9141
|
'h2',
|
|
9142
9142
|
{ className: 'prevNext-title' },
|
|
9143
9143
|
article.title
|
|
@@ -9186,7 +9186,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9186
9186
|
|
|
9187
9187
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9188
9188
|
if (biography) {
|
|
9189
|
-
return React__default[
|
|
9189
|
+
return React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9190
9190
|
}
|
|
9191
9191
|
};
|
|
9192
9192
|
|
|
@@ -9344,40 +9344,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9344
9344
|
setSensorVisible(false);
|
|
9345
9345
|
};
|
|
9346
9346
|
|
|
9347
|
-
return React__default[
|
|
9348
|
-
React__default[
|
|
9347
|
+
return React__default["default"].createElement(
|
|
9348
|
+
React__default["default"].Fragment,
|
|
9349
9349
|
null,
|
|
9350
|
-
React__default[
|
|
9350
|
+
React__default["default"].createElement(
|
|
9351
9351
|
'div',
|
|
9352
9352
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9353
|
-
React__default[
|
|
9353
|
+
React__default["default"].createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9354
9354
|
return handleArrowClick();
|
|
9355
9355
|
} })
|
|
9356
9356
|
),
|
|
9357
|
-
React__default[
|
|
9358
|
-
React__default[
|
|
9357
|
+
React__default["default"].createElement('hr', { className: 'article-seperater my-4' }),
|
|
9358
|
+
React__default["default"].createElement(
|
|
9359
9359
|
'div',
|
|
9360
9360
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9361
|
-
React__default[
|
|
9361
|
+
React__default["default"].createElement(
|
|
9362
9362
|
'h5',
|
|
9363
9363
|
{ className: 'objective-title' },
|
|
9364
9364
|
nodes.seriesTitle
|
|
9365
9365
|
),
|
|
9366
|
-
React__default[
|
|
9366
|
+
React__default["default"].createElement(
|
|
9367
9367
|
'div',
|
|
9368
9368
|
{ className: 'prevNextWrapper' },
|
|
9369
9369
|
PrevNextCards(false, -1)
|
|
9370
9370
|
)
|
|
9371
9371
|
),
|
|
9372
|
-
React__default[
|
|
9373
|
-
React__default[
|
|
9372
|
+
React__default["default"].createElement('hr', { className: 'article-seperater' }),
|
|
9373
|
+
React__default["default"].createElement(
|
|
9374
9374
|
'div',
|
|
9375
9375
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9376
9376
|
Articles.map(function (article, index) {
|
|
9377
|
-
return React__default[
|
|
9377
|
+
return React__default["default"].createElement(
|
|
9378
9378
|
'div',
|
|
9379
9379
|
{ key: article.title },
|
|
9380
|
-
React__default[
|
|
9380
|
+
React__default["default"].createElement(
|
|
9381
9381
|
InscreenSensor,
|
|
9382
9382
|
{
|
|
9383
9383
|
visible: sensorVisible,
|
|
@@ -9395,82 +9395,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9395
9395
|
}
|
|
9396
9396
|
}
|
|
9397
9397
|
} },
|
|
9398
|
-
React__default[
|
|
9399
|
-
Head__default[
|
|
9398
|
+
React__default["default"].createElement(
|
|
9399
|
+
Head__default["default"],
|
|
9400
9400
|
null,
|
|
9401
|
-
currentTitle !== null && React__default[
|
|
9401
|
+
currentTitle !== null && React__default["default"].createElement(
|
|
9402
9402
|
'title',
|
|
9403
9403
|
{ key: 'title' },
|
|
9404
9404
|
currentTitle
|
|
9405
9405
|
),
|
|
9406
|
-
currentSummary !== null && React__default[
|
|
9407
|
-
currentURL !== null && React__default[
|
|
9408
|
-
currentTitle !== null && React__default[
|
|
9409
|
-
currentThumbnail !== null && React__default[
|
|
9410
|
-
currentSummary !== null && React__default[
|
|
9411
|
-
currentTitle !== null && React__default[
|
|
9412
|
-
currentThumbnail !== null && React__default[
|
|
9413
|
-
currentSummary !== null && React__default[
|
|
9406
|
+
currentSummary !== null && React__default["default"].createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9407
|
+
currentURL !== null && React__default["default"].createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9408
|
+
currentTitle !== null && React__default["default"].createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9409
|
+
currentThumbnail !== null && React__default["default"].createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9410
|
+
currentSummary !== null && React__default["default"].createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9411
|
+
currentTitle !== null && React__default["default"].createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9412
|
+
currentThumbnail !== null && React__default["default"].createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9413
|
+
currentSummary !== null && React__default["default"].createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9414
9414
|
),
|
|
9415
|
-
React__default[
|
|
9415
|
+
React__default["default"].createElement(
|
|
9416
9416
|
'article',
|
|
9417
9417
|
{ className: 'article-wrapper' },
|
|
9418
|
-
React__default[
|
|
9418
|
+
React__default["default"].createElement(
|
|
9419
9419
|
'div',
|
|
9420
9420
|
{ className: 'article-publishDate' },
|
|
9421
9421
|
moment.moment(article.published).format('LL')
|
|
9422
9422
|
),
|
|
9423
|
-
React__default[
|
|
9423
|
+
React__default["default"].createElement(
|
|
9424
9424
|
'div',
|
|
9425
9425
|
{ className: 'author-details-wrapper' },
|
|
9426
9426
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9427
|
-
return React__default[
|
|
9427
|
+
return React__default["default"].createElement(
|
|
9428
9428
|
'span',
|
|
9429
9429
|
{ key: index },
|
|
9430
9430
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9431
9431
|
);
|
|
9432
9432
|
})
|
|
9433
9433
|
),
|
|
9434
|
-
React__default[
|
|
9434
|
+
React__default["default"].createElement(
|
|
9435
9435
|
'h2',
|
|
9436
9436
|
{ className: 'article-title' },
|
|
9437
9437
|
article.title
|
|
9438
9438
|
),
|
|
9439
|
-
React__default[
|
|
9439
|
+
React__default["default"].createElement(
|
|
9440
9440
|
'div',
|
|
9441
9441
|
{ className: 'mt-2 mb-2' },
|
|
9442
|
-
React__default[
|
|
9442
|
+
React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({
|
|
9443
9443
|
serializers: getSerializers,
|
|
9444
9444
|
videoAccountIDs: accountIDs,
|
|
9445
9445
|
blocks: article.text,
|
|
9446
9446
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9447
9447
|
}, client.config())),
|
|
9448
|
-
React__default[
|
|
9448
|
+
React__default["default"].createElement('hr', { className: 'article-seperater my-4' })
|
|
9449
9449
|
),
|
|
9450
|
-
Articles.length > 1 && React__default[
|
|
9451
|
-
React__default[
|
|
9450
|
+
Articles.length > 1 && React__default["default"].createElement(
|
|
9451
|
+
React__default["default"].Fragment,
|
|
9452
9452
|
null,
|
|
9453
|
-
React__default[
|
|
9453
|
+
React__default["default"].createElement(
|
|
9454
9454
|
'div',
|
|
9455
9455
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9456
|
-
React__default[
|
|
9456
|
+
React__default["default"].createElement(
|
|
9457
9457
|
'h5',
|
|
9458
9458
|
{ className: 'objective-title' },
|
|
9459
9459
|
nodes.seriesTitle
|
|
9460
9460
|
),
|
|
9461
|
-
React__default[
|
|
9461
|
+
React__default["default"].createElement(
|
|
9462
9462
|
'div',
|
|
9463
9463
|
{ className: 'prevNextWrapper' },
|
|
9464
9464
|
PrevNextCards(true, index)
|
|
9465
9465
|
)
|
|
9466
9466
|
),
|
|
9467
|
-
React__default[
|
|
9467
|
+
React__default["default"].createElement('hr', { className: 'article-seperater' })
|
|
9468
9468
|
)
|
|
9469
9469
|
)
|
|
9470
9470
|
)
|
|
9471
9471
|
);
|
|
9472
9472
|
}),
|
|
9473
|
-
React__default[
|
|
9473
|
+
React__default["default"].createElement(
|
|
9474
9474
|
'style',
|
|
9475
9475
|
{ jsx: 'true' },
|
|
9476
9476
|
'\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 '
|
|
@@ -9500,11 +9500,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9500
9500
|
};
|
|
9501
9501
|
}, [handleClickOutside]);
|
|
9502
9502
|
|
|
9503
|
-
return React__default[
|
|
9503
|
+
return React__default["default"].createElement(
|
|
9504
9504
|
'div',
|
|
9505
9505
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9506
|
-
React__default[
|
|
9507
|
-
React__default[
|
|
9506
|
+
React__default["default"].createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9507
|
+
React__default["default"].createElement(
|
|
9508
9508
|
'style',
|
|
9509
9509
|
{ jsx: 'true' },
|
|
9510
9510
|
'\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 '
|
|
@@ -9518,7 +9518,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9518
9518
|
}
|
|
9519
9519
|
};
|
|
9520
9520
|
|
|
9521
|
-
var FigureImage$1 = React__default[
|
|
9521
|
+
var FigureImage$1 = React__default["default"].memo(function (_ref2) {
|
|
9522
9522
|
var node = _ref2.node,
|
|
9523
9523
|
client = _ref2.client,
|
|
9524
9524
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9526,13 +9526,13 @@ var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
|
9526
9526
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9527
9527
|
|
|
9528
9528
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9529
|
-
return React__default[
|
|
9529
|
+
return React__default["default"].createElement(
|
|
9530
9530
|
'picture',
|
|
9531
9531
|
null,
|
|
9532
|
-
React__default[
|
|
9533
|
-
React__default[
|
|
9534
|
-
React__default[
|
|
9535
|
-
React__default[
|
|
9532
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9533
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9534
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9535
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9536
9536
|
style: figureImageStyle,
|
|
9537
9537
|
className: 'figure-image',
|
|
9538
9538
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9583,30 +9583,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9583
9583
|
|
|
9584
9584
|
var renderTooltip = function renderTooltip(props) {
|
|
9585
9585
|
if (infoBox[0].title) {
|
|
9586
|
-
return React__default[
|
|
9587
|
-
Popover__default[
|
|
9586
|
+
return React__default["default"].createElement(
|
|
9587
|
+
Popover__default["default"],
|
|
9588
9588
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9589
|
-
React__default[
|
|
9590
|
-
Popover__default[
|
|
9589
|
+
React__default["default"].createElement(
|
|
9590
|
+
Popover__default["default"].Title,
|
|
9591
9591
|
{ as: 'h3' },
|
|
9592
9592
|
infoBox[0].title
|
|
9593
9593
|
),
|
|
9594
|
-
React__default[
|
|
9595
|
-
Popover__default[
|
|
9594
|
+
React__default["default"].createElement(
|
|
9595
|
+
Popover__default["default"].Content,
|
|
9596
9596
|
null,
|
|
9597
|
-
React__default[
|
|
9597
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9598
9598
|
)
|
|
9599
9599
|
);
|
|
9600
9600
|
} else {
|
|
9601
|
-
return React__default[
|
|
9602
|
-
Tooltip__default[
|
|
9601
|
+
return React__default["default"].createElement(
|
|
9602
|
+
Tooltip__default["default"],
|
|
9603
9603
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9604
|
-
React__default[
|
|
9604
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9605
9605
|
);
|
|
9606
9606
|
}
|
|
9607
9607
|
};
|
|
9608
9608
|
|
|
9609
|
-
var FigureImageWOverLay = React__default[
|
|
9609
|
+
var FigureImageWOverLay = React__default["default"].memo(function (_ref3) {
|
|
9610
9610
|
var node = _ref3.node,
|
|
9611
9611
|
client = _ref3.client,
|
|
9612
9612
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9616,13 +9616,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9616
9616
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9617
9617
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9618
9618
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9619
|
-
return React__default[
|
|
9619
|
+
return React__default["default"].createElement(
|
|
9620
9620
|
'picture',
|
|
9621
9621
|
null,
|
|
9622
|
-
React__default[
|
|
9623
|
-
React__default[
|
|
9624
|
-
React__default[
|
|
9625
|
-
main.main_42 && link ? React__default[
|
|
9622
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9623
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9624
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9625
|
+
main.main_42 && link ? React__default["default"].createElement('img', _extends._extends({
|
|
9626
9626
|
style: figureImageStyle,
|
|
9627
9627
|
className: 'figure-image',
|
|
9628
9628
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9631,10 +9631,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9631
9631
|
onClick: function onClick() {
|
|
9632
9632
|
return handleClickFigure(node, client);
|
|
9633
9633
|
}
|
|
9634
|
-
})) : React__default[
|
|
9635
|
-
OverlayTrigger__default[
|
|
9634
|
+
})) : React__default["default"].createElement(
|
|
9635
|
+
OverlayTrigger__default["default"],
|
|
9636
9636
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9637
|
-
React__default[
|
|
9637
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9638
9638
|
style: figureImageStyle,
|
|
9639
9639
|
className: 'figure-image',
|
|
9640
9640
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9688,13 +9688,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9688
9688
|
|
|
9689
9689
|
var FigureCaption = React.useCallback(function () {
|
|
9690
9690
|
if (imgcaption && imgcaption.length > 0) {
|
|
9691
|
-
return React__default[
|
|
9691
|
+
return React__default["default"].createElement(
|
|
9692
9692
|
'div',
|
|
9693
9693
|
{ className: 'figure-caption' },
|
|
9694
|
-
React__default[
|
|
9694
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9695
9695
|
);
|
|
9696
9696
|
} else if (caption) {
|
|
9697
|
-
return React__default[
|
|
9697
|
+
return React__default["default"].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9698
9698
|
} else return null;
|
|
9699
9699
|
}, [caption, imgcaption]);
|
|
9700
9700
|
|
|
@@ -9711,24 +9711,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9711
9711
|
setShowLightbox(true);
|
|
9712
9712
|
}, [node, client]);
|
|
9713
9713
|
|
|
9714
|
-
return React__default[
|
|
9715
|
-
React__default[
|
|
9714
|
+
return React__default["default"].createElement(
|
|
9715
|
+
React__default["default"].Fragment,
|
|
9716
9716
|
null,
|
|
9717
|
-
infoBox.length >= 1 ? React__default[
|
|
9718
|
-
Figure__default[
|
|
9717
|
+
infoBox.length >= 1 ? React__default["default"].createElement(
|
|
9718
|
+
Figure__default["default"],
|
|
9719
9719
|
{ className: '' + class_name, style: figureStyle },
|
|
9720
|
-
link ? React__default[
|
|
9720
|
+
link ? React__default["default"].createElement(
|
|
9721
9721
|
'a',
|
|
9722
9722
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9723
|
-
React__default[
|
|
9724
|
-
React__default[
|
|
9725
|
-
) : React__default[
|
|
9726
|
-
React__default[
|
|
9723
|
+
React__default["default"].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9724
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9725
|
+
) : React__default["default"].createElement(
|
|
9726
|
+
React__default["default"].Fragment,
|
|
9727
9727
|
null,
|
|
9728
|
-
React__default[
|
|
9729
|
-
React__default[
|
|
9728
|
+
React__default["default"].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9729
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9730
9730
|
),
|
|
9731
|
-
React__default[
|
|
9731
|
+
React__default["default"].createElement(LightBox, {
|
|
9732
9732
|
showLightbox: showLightbox,
|
|
9733
9733
|
lightboxImgSrc: lightboxImgSrc,
|
|
9734
9734
|
closeLightbox: function closeLightbox() {
|
|
@@ -9736,21 +9736,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9736
9736
|
setShowLightbox(false);
|
|
9737
9737
|
}
|
|
9738
9738
|
})
|
|
9739
|
-
) : React__default[
|
|
9740
|
-
Figure__default[
|
|
9739
|
+
) : React__default["default"].createElement(
|
|
9740
|
+
Figure__default["default"],
|
|
9741
9741
|
{ className: '' + class_name, style: figureStyle },
|
|
9742
|
-
link ? React__default[
|
|
9742
|
+
link ? React__default["default"].createElement(
|
|
9743
9743
|
'a',
|
|
9744
9744
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9745
|
-
React__default[
|
|
9746
|
-
React__default[
|
|
9747
|
-
) : React__default[
|
|
9748
|
-
React__default[
|
|
9745
|
+
React__default["default"].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9746
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9747
|
+
) : React__default["default"].createElement(
|
|
9748
|
+
React__default["default"].Fragment,
|
|
9749
9749
|
null,
|
|
9750
|
-
React__default[
|
|
9751
|
-
React__default[
|
|
9750
|
+
React__default["default"].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9751
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9752
9752
|
),
|
|
9753
|
-
React__default[
|
|
9753
|
+
React__default["default"].createElement(LightBox, {
|
|
9754
9754
|
showLightbox: showLightbox,
|
|
9755
9755
|
lightboxImgSrc: lightboxImgSrc,
|
|
9756
9756
|
closeLightbox: function closeLightbox() {
|
|
@@ -9759,7 +9759,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9759
9759
|
}
|
|
9760
9760
|
})
|
|
9761
9761
|
),
|
|
9762
|
-
React__default[
|
|
9762
|
+
React__default["default"].createElement(
|
|
9763
9763
|
'style',
|
|
9764
9764
|
{ jsx: 'true' },
|
|
9765
9765
|
'\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 '
|
|
@@ -9767,7 +9767,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9767
9767
|
);
|
|
9768
9768
|
};
|
|
9769
9769
|
|
|
9770
|
-
var Figure = React__default[
|
|
9770
|
+
var Figure = React__default["default"].memo(FigureComponent, compareProps);
|
|
9771
9771
|
|
|
9772
9772
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9773
9773
|
React.useEffect(function () {
|
|
@@ -9784,7 +9784,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9784
9784
|
}, [ref]);
|
|
9785
9785
|
}
|
|
9786
9786
|
|
|
9787
|
-
var FigureImage = React__default[
|
|
9787
|
+
var FigureImage = React__default["default"].memo(function (_ref) {
|
|
9788
9788
|
var imagesCount = _ref.imagesCount,
|
|
9789
9789
|
image = _ref.image,
|
|
9790
9790
|
client = _ref.client,
|
|
@@ -9792,13 +9792,13 @@ var FigureImage = React__default['default'].memo(function (_ref) {
|
|
|
9792
9792
|
link = _ref.link,
|
|
9793
9793
|
handleClickFigure = _ref.handleClickFigure;
|
|
9794
9794
|
|
|
9795
|
-
return React__default[
|
|
9795
|
+
return React__default["default"].createElement(
|
|
9796
9796
|
'picture',
|
|
9797
9797
|
null,
|
|
9798
|
-
React__default[
|
|
9799
|
-
React__default[
|
|
9800
|
-
React__default[
|
|
9801
|
-
React__default[
|
|
9798
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9799
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9800
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9801
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9802
9802
|
'images-count': imagesCount,
|
|
9803
9803
|
className: 'multi-figure-image',
|
|
9804
9804
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9835,13 +9835,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9835
9835
|
imgcaption = _ref2.imgcaption;
|
|
9836
9836
|
|
|
9837
9837
|
if (imgcaption && imgcaption.length > 0) {
|
|
9838
|
-
return React__default[
|
|
9838
|
+
return React__default["default"].createElement(
|
|
9839
9839
|
'div',
|
|
9840
9840
|
{ className: 'multi-figure-caption' },
|
|
9841
|
-
React__default[
|
|
9841
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9842
9842
|
);
|
|
9843
9843
|
} else if (caption) {
|
|
9844
|
-
return React__default[
|
|
9844
|
+
return React__default["default"].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9845
9845
|
} else return null;
|
|
9846
9846
|
};
|
|
9847
9847
|
|
|
@@ -9850,7 +9850,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9850
9850
|
setOpenImg(true);
|
|
9851
9851
|
}, [client]);
|
|
9852
9852
|
|
|
9853
|
-
var FigureImageWOverLay = React__default[
|
|
9853
|
+
var FigureImageWOverLay = React__default["default"].memo(function (_ref3) {
|
|
9854
9854
|
var imagesCount = _ref3.imagesCount,
|
|
9855
9855
|
image = _ref3.image,
|
|
9856
9856
|
client = _ref3.client,
|
|
@@ -9860,13 +9860,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9860
9860
|
|
|
9861
9861
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9862
9862
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9863
|
-
return React__default[
|
|
9863
|
+
return React__default["default"].createElement(
|
|
9864
9864
|
'picture',
|
|
9865
9865
|
null,
|
|
9866
|
-
React__default[
|
|
9867
|
-
React__default[
|
|
9868
|
-
React__default[
|
|
9869
|
-
main.main_42 && link ? React__default[
|
|
9866
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9867
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9868
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9869
|
+
main.main_42 && link ? React__default["default"].createElement('img', _extends._extends({
|
|
9870
9870
|
'images-count': imagesCount,
|
|
9871
9871
|
className: 'multi-figure-image',
|
|
9872
9872
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9875,10 +9875,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9875
9875
|
onClick: function onClick() {
|
|
9876
9876
|
return handleClickFigure(image, client);
|
|
9877
9877
|
}
|
|
9878
|
-
})) : React__default[
|
|
9879
|
-
OverlayTrigger__default[
|
|
9878
|
+
})) : React__default["default"].createElement(
|
|
9879
|
+
OverlayTrigger__default["default"],
|
|
9880
9880
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9881
|
-
React__default[
|
|
9881
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9882
9882
|
'images-count': imagesCount,
|
|
9883
9883
|
className: 'multi-figure-image',
|
|
9884
9884
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9894,102 +9894,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9894
9894
|
|
|
9895
9895
|
var renderTooltip = function renderTooltip(image) {
|
|
9896
9896
|
if (image.infoBox[0].title) {
|
|
9897
|
-
return React__default[
|
|
9898
|
-
Popover__default[
|
|
9897
|
+
return React__default["default"].createElement(
|
|
9898
|
+
Popover__default["default"],
|
|
9899
9899
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9900
|
-
React__default[
|
|
9901
|
-
Popover__default[
|
|
9900
|
+
React__default["default"].createElement(
|
|
9901
|
+
Popover__default["default"].Title,
|
|
9902
9902
|
{ as: 'h3' },
|
|
9903
9903
|
image.infoBox[0].title
|
|
9904
9904
|
),
|
|
9905
|
-
React__default[
|
|
9906
|
-
Popover__default[
|
|
9905
|
+
React__default["default"].createElement(
|
|
9906
|
+
Popover__default["default"].Content,
|
|
9907
9907
|
null,
|
|
9908
|
-
React__default[
|
|
9908
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9909
9909
|
)
|
|
9910
9910
|
);
|
|
9911
9911
|
} else {
|
|
9912
|
-
return React__default[
|
|
9913
|
-
Tooltip__default[
|
|
9912
|
+
return React__default["default"].createElement(
|
|
9913
|
+
Tooltip__default["default"],
|
|
9914
9914
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9915
|
-
React__default[
|
|
9915
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9916
9916
|
);
|
|
9917
9917
|
}
|
|
9918
9918
|
};
|
|
9919
9919
|
|
|
9920
9920
|
if (images && images.length > 0) {
|
|
9921
|
-
return React__default[
|
|
9921
|
+
return React__default["default"].createElement(
|
|
9922
9922
|
'div',
|
|
9923
9923
|
{ className: 'multi-figure-container' },
|
|
9924
|
-
React__default[
|
|
9925
|
-
Row__default[
|
|
9924
|
+
React__default["default"].createElement(
|
|
9925
|
+
Row__default["default"],
|
|
9926
9926
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9927
9927
|
images.map(function (image, index) {
|
|
9928
9928
|
if (image.infoBox) {
|
|
9929
|
-
return React__default[
|
|
9930
|
-
Col__default[
|
|
9929
|
+
return React__default["default"].createElement(
|
|
9930
|
+
Col__default["default"],
|
|
9931
9931
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9932
|
-
image.link ? React__default[
|
|
9932
|
+
image.link ? React__default["default"].createElement(
|
|
9933
9933
|
'a',
|
|
9934
9934
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9935
|
-
React__default[
|
|
9935
|
+
React__default["default"].createElement(
|
|
9936
9936
|
'div',
|
|
9937
9937
|
{ className: 'multi-figure-image-container' },
|
|
9938
|
-
React__default[
|
|
9938
|
+
React__default["default"].createElement(
|
|
9939
9939
|
index$2.LazyLoad,
|
|
9940
9940
|
{ once: true },
|
|
9941
|
-
React__default[
|
|
9941
|
+
React__default["default"].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9942
9942
|
),
|
|
9943
|
-
React__default[
|
|
9943
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9944
9944
|
)
|
|
9945
|
-
) : React__default[
|
|
9945
|
+
) : React__default["default"].createElement(
|
|
9946
9946
|
'div',
|
|
9947
9947
|
{ className: 'multi-figure-image-container' },
|
|
9948
|
-
React__default[
|
|
9948
|
+
React__default["default"].createElement(
|
|
9949
9949
|
index$2.LazyLoad,
|
|
9950
9950
|
{ once: true },
|
|
9951
|
-
React__default[
|
|
9951
|
+
React__default["default"].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9952
9952
|
),
|
|
9953
|
-
React__default[
|
|
9953
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9954
9954
|
)
|
|
9955
9955
|
);
|
|
9956
9956
|
} else {
|
|
9957
|
-
return React__default[
|
|
9958
|
-
Col__default[
|
|
9957
|
+
return React__default["default"].createElement(
|
|
9958
|
+
Col__default["default"],
|
|
9959
9959
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9960
|
-
image.link ? React__default[
|
|
9960
|
+
image.link ? React__default["default"].createElement(
|
|
9961
9961
|
'a',
|
|
9962
9962
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9963
|
-
React__default[
|
|
9963
|
+
React__default["default"].createElement(
|
|
9964
9964
|
'div',
|
|
9965
9965
|
{ className: 'multi-figure-image-container' },
|
|
9966
|
-
React__default[
|
|
9966
|
+
React__default["default"].createElement(
|
|
9967
9967
|
index$2.LazyLoad,
|
|
9968
9968
|
{ once: true },
|
|
9969
|
-
React__default[
|
|
9969
|
+
React__default["default"].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9970
9970
|
),
|
|
9971
|
-
React__default[
|
|
9971
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9972
9972
|
)
|
|
9973
|
-
) : React__default[
|
|
9973
|
+
) : React__default["default"].createElement(
|
|
9974
9974
|
'div',
|
|
9975
9975
|
{ className: 'multi-figure-image-container' },
|
|
9976
|
-
React__default[
|
|
9976
|
+
React__default["default"].createElement(
|
|
9977
9977
|
index$2.LazyLoad,
|
|
9978
9978
|
{ once: true },
|
|
9979
|
-
React__default[
|
|
9979
|
+
React__default["default"].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9980
9980
|
),
|
|
9981
|
-
React__default[
|
|
9981
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9982
9982
|
)
|
|
9983
9983
|
);
|
|
9984
9984
|
}
|
|
9985
9985
|
})
|
|
9986
9986
|
),
|
|
9987
|
-
React__default[
|
|
9987
|
+
React__default["default"].createElement(
|
|
9988
9988
|
'div',
|
|
9989
9989
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9990
|
-
React__default[
|
|
9990
|
+
React__default["default"].createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9991
9991
|
),
|
|
9992
|
-
React__default[
|
|
9992
|
+
React__default["default"].createElement(
|
|
9993
9993
|
'style',
|
|
9994
9994
|
{ jsx: 'true' },
|
|
9995
9995
|
'\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 '
|
|
@@ -10038,23 +10038,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
10038
10038
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
10039
10039
|
}, []);
|
|
10040
10040
|
|
|
10041
|
-
return React__default[
|
|
10042
|
-
React__default[
|
|
10041
|
+
return React__default["default"].createElement(
|
|
10042
|
+
React__default["default"].Fragment,
|
|
10043
10043
|
null,
|
|
10044
|
-
React__default[
|
|
10045
|
-
Head__default[
|
|
10044
|
+
React__default["default"].createElement(
|
|
10045
|
+
Head__default["default"],
|
|
10046
10046
|
null,
|
|
10047
|
-
React__default[
|
|
10047
|
+
React__default["default"].createElement('script', {
|
|
10048
10048
|
dangerouslySetInnerHTML: {
|
|
10049
10049
|
__html: 'history.scrollRestoration = "manual"'
|
|
10050
10050
|
}
|
|
10051
10051
|
})
|
|
10052
10052
|
),
|
|
10053
|
-
React__default[
|
|
10053
|
+
React__default["default"].createElement(
|
|
10054
10054
|
'div',
|
|
10055
10055
|
{ id: elementId },
|
|
10056
|
-
React__default[
|
|
10057
|
-
React__default[
|
|
10056
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
10057
|
+
React__default["default"].createElement(
|
|
10058
10058
|
'style',
|
|
10059
10059
|
{ jsx: 'true' },
|
|
10060
10060
|
'\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 '
|
|
@@ -10108,11 +10108,11 @@ var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
|
10108
10108
|
|
|
10109
10109
|
|
|
10110
10110
|
|
|
10111
|
-
var _react2 = _interopRequireDefault(React__default[
|
|
10111
|
+
var _react2 = _interopRequireDefault(React__default["default"]);
|
|
10112
10112
|
|
|
10113
10113
|
|
|
10114
10114
|
|
|
10115
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default[
|
|
10115
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default["default"]);
|
|
10116
10116
|
|
|
10117
10117
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10118
10118
|
var noop = function noop() {};
|
|
@@ -10267,7 +10267,7 @@ var ScriptTag = function (_Component) {
|
|
|
10267
10267
|
};
|
|
10268
10268
|
|
|
10269
10269
|
return ScriptTag;
|
|
10270
|
-
}(React__default[
|
|
10270
|
+
}(React__default["default"].Component);
|
|
10271
10271
|
|
|
10272
10272
|
ScriptTag.propTypes = {
|
|
10273
10273
|
/**
|
|
@@ -10359,11 +10359,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10359
10359
|
}, [anonymousID]);
|
|
10360
10360
|
|
|
10361
10361
|
if (iframeSrc) {
|
|
10362
|
-
return React__default[
|
|
10362
|
+
return React__default["default"].createElement(
|
|
10363
10363
|
'section',
|
|
10364
10364
|
{ className: 'form-assembly' },
|
|
10365
|
-
iframeSrc && React__default[
|
|
10366
|
-
React__default[
|
|
10365
|
+
iframeSrc && React__default["default"].createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10366
|
+
React__default["default"].createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10367
10367
|
);
|
|
10368
10368
|
}
|
|
10369
10369
|
|
|
@@ -10420,27 +10420,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10420
10420
|
}
|
|
10421
10421
|
};
|
|
10422
10422
|
|
|
10423
|
-
return React__default[
|
|
10423
|
+
return React__default["default"].createElement(
|
|
10424
10424
|
'div',
|
|
10425
10425
|
{ className: 'blockTableHolder', ref: holder },
|
|
10426
|
-
React__default[
|
|
10426
|
+
React__default["default"].createElement(
|
|
10427
10427
|
'div',
|
|
10428
10428
|
{ className: 'blockTable' },
|
|
10429
10429
|
rows && rows.map(function (row, index) {
|
|
10430
|
-
return React__default[
|
|
10430
|
+
return React__default["default"].createElement(
|
|
10431
10431
|
'div',
|
|
10432
10432
|
{ key: 'tr-' + index, className: 'blockTableRow', style: index == rows.length - 1 ? styles.blockTableRowLast : styles.blockTableRow },
|
|
10433
10433
|
row.cells && row.cells.map(function (cell, cellIndex) {
|
|
10434
|
-
return React__default[
|
|
10434
|
+
return React__default["default"].createElement(
|
|
10435
10435
|
'div',
|
|
10436
10436
|
{ key: 'cell-' + cellIndex, className: 'blockTableCell', style: cellIndex == row.cells.length - 1 ? _extends._extends({ width: (100 / row.cells.length).toFixed(2) + '%' }, styles.blockTableCellLast) : _extends._extends({ width: (100 / row.cells.length).toFixed(2) + '%' }, styles.blockTableCell) },
|
|
10437
|
-
React__default[
|
|
10437
|
+
React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10438
10438
|
);
|
|
10439
10439
|
})
|
|
10440
10440
|
);
|
|
10441
10441
|
})
|
|
10442
10442
|
),
|
|
10443
|
-
React__default[
|
|
10443
|
+
React__default["default"].createElement(
|
|
10444
10444
|
'style',
|
|
10445
10445
|
{ jsx: true },
|
|
10446
10446
|
'\n .blockTable {\n min-width: ' + minTableWidth + 'px;\n }\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\n @media only screen and (max-width: 800px) {\n .blockTableCell {\n padding: 0.25rem;\n }\n }\n '
|
|
@@ -10454,7 +10454,7 @@ var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
|
10454
10454
|
_props$node.needSegmentSupport;
|
|
10455
10455
|
|
|
10456
10456
|
|
|
10457
|
-
return React__default[
|
|
10457
|
+
return React__default["default"].createElement('div', { className: 'digiohWrapper', id: FormID });
|
|
10458
10458
|
};
|
|
10459
10459
|
|
|
10460
10460
|
var checkUrlIsExternal = function checkUrlIsExternal(url) {
|
|
@@ -10514,7 +10514,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10514
10514
|
if (href && href.charAt(0) === '#') {
|
|
10515
10515
|
var elementId = href.slice(1);
|
|
10516
10516
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10517
|
-
return React__default[
|
|
10517
|
+
return React__default["default"].createElement(
|
|
10518
10518
|
'a',
|
|
10519
10519
|
{ onClick: function onClick() {
|
|
10520
10520
|
return ScrollToElement(elementId);
|
|
@@ -10524,11 +10524,11 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10524
10524
|
}
|
|
10525
10525
|
|
|
10526
10526
|
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkSisterSite.checkSisterSite(href) ? 'noreferrer noopener' : '');
|
|
10527
|
-
return href ? linkRel.trim().length > 0 ? React__default[
|
|
10527
|
+
return href ? linkRel.trim().length > 0 ? React__default["default"].createElement(
|
|
10528
10528
|
'a',
|
|
10529
10529
|
_extends._extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10530
10530
|
children
|
|
10531
|
-
) : React__default[
|
|
10531
|
+
) : React__default["default"].createElement(
|
|
10532
10532
|
'a',
|
|
10533
10533
|
_extends._extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10534
10534
|
children
|
|
@@ -10593,12 +10593,12 @@ var getSerializers = function getSerializers() {
|
|
|
10593
10593
|
var node = _ref.node;
|
|
10594
10594
|
var url = node.url;
|
|
10595
10595
|
|
|
10596
|
-
return React__default[
|
|
10596
|
+
return React__default["default"].createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10597
10597
|
},
|
|
10598
10598
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10599
10599
|
var node = _ref2.node;
|
|
10600
10600
|
|
|
10601
|
-
return React__default[
|
|
10601
|
+
return React__default["default"].createElement(YouTubeGallery, {
|
|
10602
10602
|
nodes: node,
|
|
10603
10603
|
article: article,
|
|
10604
10604
|
meta: meta,
|
|
@@ -10612,7 +10612,7 @@ var getSerializers = function getSerializers() {
|
|
|
10612
10612
|
articleSeries: function articleSeries(_ref3) {
|
|
10613
10613
|
var node = _ref3.node;
|
|
10614
10614
|
|
|
10615
|
-
return React__default[
|
|
10615
|
+
return React__default["default"].createElement(ArticleSeries, {
|
|
10616
10616
|
nodes: node,
|
|
10617
10617
|
accountIDs: videoAccountIDs || {},
|
|
10618
10618
|
pageview: pageview,
|
|
@@ -10625,61 +10625,61 @@ var getSerializers = function getSerializers() {
|
|
|
10625
10625
|
figure: function figure(_ref4) {
|
|
10626
10626
|
var node = _ref4.node;
|
|
10627
10627
|
|
|
10628
|
-
return React__default[
|
|
10628
|
+
return React__default["default"].createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10629
10629
|
},
|
|
10630
10630
|
multifigure: function multifigure(_ref5) {
|
|
10631
10631
|
var node = _ref5.node;
|
|
10632
10632
|
|
|
10633
|
-
return React__default[
|
|
10633
|
+
return React__default["default"].createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10634
10634
|
},
|
|
10635
10635
|
slideshow: function slideshow(_ref6) {
|
|
10636
10636
|
var node = _ref6.node;
|
|
10637
10637
|
var slides = node.slides;
|
|
10638
10638
|
|
|
10639
|
-
return React__default[
|
|
10639
|
+
return React__default["default"].createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10640
10640
|
},
|
|
10641
10641
|
sidebar: function sidebar(_ref7) {
|
|
10642
10642
|
var node = _ref7.node;
|
|
10643
10643
|
var caption = node.caption,
|
|
10644
10644
|
content = node.content;
|
|
10645
10645
|
|
|
10646
|
-
return React__default[
|
|
10646
|
+
return React__default["default"].createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10647
10647
|
},
|
|
10648
10648
|
datatable: function datatable(_ref8) {
|
|
10649
10649
|
var node = _ref8.node;
|
|
10650
10650
|
var table = node.table;
|
|
10651
10651
|
|
|
10652
|
-
return React__default[
|
|
10652
|
+
return React__default["default"].createElement(TableShow, { rows: table.rows });
|
|
10653
10653
|
},
|
|
10654
10654
|
media: function media(_ref9) {
|
|
10655
10655
|
var node = _ref9.node;
|
|
10656
10656
|
|
|
10657
|
-
return React__default[
|
|
10657
|
+
return React__default["default"].createElement(Media, { node: node, client: client });
|
|
10658
10658
|
},
|
|
10659
10659
|
iframe: function iframe(_ref10) {
|
|
10660
10660
|
var node = _ref10.node;
|
|
10661
10661
|
|
|
10662
|
-
return React__default[
|
|
10662
|
+
return React__default["default"].createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10663
10663
|
},
|
|
10664
10664
|
video: function video(_ref11) {
|
|
10665
10665
|
var node = _ref11.node;
|
|
10666
10666
|
|
|
10667
|
-
return React__default[
|
|
10667
|
+
return React__default["default"].createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10668
10668
|
},
|
|
10669
10669
|
audio: function audio(_ref12) {
|
|
10670
10670
|
var node = _ref12.node;
|
|
10671
10671
|
|
|
10672
|
-
return React__default[
|
|
10672
|
+
return React__default["default"].createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10673
10673
|
},
|
|
10674
10674
|
poll: function poll(_ref13) {
|
|
10675
10675
|
var node = _ref13.node;
|
|
10676
10676
|
|
|
10677
|
-
return React__default[
|
|
10677
|
+
return React__default["default"].createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10678
10678
|
},
|
|
10679
10679
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10680
10680
|
var node = _ref14.node;
|
|
10681
10681
|
|
|
10682
|
-
return React__default[
|
|
10682
|
+
return React__default["default"].createElement(Poll, {
|
|
10683
10683
|
node: node,
|
|
10684
10684
|
client: client,
|
|
10685
10685
|
pageview: pageview,
|
|
@@ -10693,35 +10693,35 @@ var getSerializers = function getSerializers() {
|
|
|
10693
10693
|
var node = _ref15.node;
|
|
10694
10694
|
var quizzes = node.quizzes;
|
|
10695
10695
|
|
|
10696
|
-
return React__default[
|
|
10696
|
+
return React__default["default"].createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10697
10697
|
},
|
|
10698
10698
|
leads: function leads(_ref16) {
|
|
10699
10699
|
var node = _ref16.node;
|
|
10700
10700
|
var leadID = node.leadID;
|
|
10701
10701
|
|
|
10702
10702
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10703
|
-
return React__default[
|
|
10703
|
+
return React__default["default"].createElement(Leads, { url: url });
|
|
10704
10704
|
},
|
|
10705
10705
|
slideshows: function slideshows(_ref17) {
|
|
10706
10706
|
var node = _ref17.node;
|
|
10707
10707
|
|
|
10708
|
-
return React__default[
|
|
10708
|
+
return React__default["default"].createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10709
10709
|
},
|
|
10710
10710
|
nativeAd: function nativeAd(_ref18) {
|
|
10711
10711
|
var node = _ref18.node;
|
|
10712
10712
|
|
|
10713
|
-
return React__default[
|
|
10713
|
+
return React__default["default"].createElement(NativeAd, { node: node });
|
|
10714
10714
|
},
|
|
10715
10715
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10716
10716
|
var node = _ref19.node;
|
|
10717
10717
|
|
|
10718
|
-
return React__default[
|
|
10718
|
+
return React__default["default"].createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10719
10719
|
},
|
|
10720
10720
|
hrtag: function hrtag() {
|
|
10721
|
-
return React__default[
|
|
10721
|
+
return React__default["default"].createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10722
10722
|
},
|
|
10723
10723
|
brtag: function brtag() {
|
|
10724
|
-
return React__default[
|
|
10724
|
+
return React__default["default"].createElement('br', { className: 'line-break' });
|
|
10725
10725
|
},
|
|
10726
10726
|
formstack: function formstack(_ref20) {
|
|
10727
10727
|
var node = _ref20.node;
|
|
@@ -10729,30 +10729,30 @@ var getSerializers = function getSerializers() {
|
|
|
10729
10729
|
Caption = node.Caption,
|
|
10730
10730
|
needSegmentSupport = node.needSegmentSupport;
|
|
10731
10731
|
|
|
10732
|
-
return React__default[
|
|
10732
|
+
return React__default["default"].createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10733
10733
|
},
|
|
10734
10734
|
formassembly: FormAssembly,
|
|
10735
10735
|
digiohSmartTag: DigiohSmartTag,
|
|
10736
10736
|
multimedia: function multimedia(_ref21) {
|
|
10737
10737
|
var node = _ref21.node;
|
|
10738
10738
|
|
|
10739
|
-
return React__default[
|
|
10739
|
+
return React__default["default"].createElement(MultiMedia, { node: node, client: client });
|
|
10740
10740
|
},
|
|
10741
10741
|
blockTable: function blockTable(_ref22) {
|
|
10742
10742
|
var node = _ref22.node;
|
|
10743
|
-
return React__default[
|
|
10743
|
+
return React__default["default"].createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10744
10744
|
}
|
|
10745
10745
|
},
|
|
10746
10746
|
marks: {
|
|
10747
10747
|
superscript: function superscript(props) {
|
|
10748
|
-
return React__default[
|
|
10748
|
+
return React__default["default"].createElement(
|
|
10749
10749
|
'sup',
|
|
10750
10750
|
null,
|
|
10751
10751
|
props.children
|
|
10752
10752
|
);
|
|
10753
10753
|
},
|
|
10754
10754
|
subscript: function subscript(props) {
|
|
10755
|
-
return React__default[
|
|
10755
|
+
return React__default["default"].createElement(
|
|
10756
10756
|
'sub',
|
|
10757
10757
|
null,
|
|
10758
10758
|
props.children
|
|
@@ -10762,11 +10762,11 @@ var getSerializers = function getSerializers() {
|
|
|
10762
10762
|
var children = props.children,
|
|
10763
10763
|
mark = props.mark;
|
|
10764
10764
|
|
|
10765
|
-
return React__default[
|
|
10765
|
+
return React__default["default"].createElement(ExternalLink, { children: children, mark: mark, articleId: articleId });
|
|
10766
10766
|
},
|
|
10767
10767
|
alignleft: function alignleft(_ref23) {
|
|
10768
10768
|
var children = _ref23.children;
|
|
10769
|
-
return React__default[
|
|
10769
|
+
return React__default["default"].createElement(
|
|
10770
10770
|
'div',
|
|
10771
10771
|
{ style: { textAlign: 'left' } },
|
|
10772
10772
|
children
|
|
@@ -10774,7 +10774,7 @@ var getSerializers = function getSerializers() {
|
|
|
10774
10774
|
},
|
|
10775
10775
|
alignright: function alignright(_ref24) {
|
|
10776
10776
|
var children = _ref24.children;
|
|
10777
|
-
return React__default[
|
|
10777
|
+
return React__default["default"].createElement(
|
|
10778
10778
|
'div',
|
|
10779
10779
|
{ style: { textAlign: 'right' } },
|
|
10780
10780
|
children
|
|
@@ -10782,7 +10782,7 @@ var getSerializers = function getSerializers() {
|
|
|
10782
10782
|
},
|
|
10783
10783
|
aligncenter: function aligncenter(_ref25) {
|
|
10784
10784
|
var children = _ref25.children;
|
|
10785
|
-
return React__default[
|
|
10785
|
+
return React__default["default"].createElement(
|
|
10786
10786
|
'div',
|
|
10787
10787
|
{ style: { textAlign: 'center' } },
|
|
10788
10788
|
children
|
|
@@ -10790,7 +10790,7 @@ var getSerializers = function getSerializers() {
|
|
|
10790
10790
|
},
|
|
10791
10791
|
alignjustify: function alignjustify(_ref26) {
|
|
10792
10792
|
var children = _ref26.children;
|
|
10793
|
-
return React__default[
|
|
10793
|
+
return React__default["default"].createElement(
|
|
10794
10794
|
'div',
|
|
10795
10795
|
{ style: { textAlign: 'justify' } },
|
|
10796
10796
|
children
|
|
@@ -10800,7 +10800,7 @@ var getSerializers = function getSerializers() {
|
|
|
10800
10800
|
var children = props.children,
|
|
10801
10801
|
color = props.mark.color;
|
|
10802
10802
|
|
|
10803
|
-
return React__default[
|
|
10803
|
+
return React__default["default"].createElement(
|
|
10804
10804
|
'span',
|
|
10805
10805
|
{ style: { color: color ? color.hex : null } },
|
|
10806
10806
|
children
|