@mjhls/mjh-framework 1.0.984-nofollow-v1 → 1.0.985-article-abstract-v1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +168 -168
- package/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -5
- package/dist/cjs/AD300x250x600.js +5 -5
- package/dist/cjs/AD728x90.js +6 -6
- package/dist/cjs/ADFloatingFooter.js +8 -8
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -8
- package/dist/cjs/{ADInfeed-e5192055.js → ADInfeed-81006615.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -8
- package/dist/cjs/ADSponsoredResources.js +8 -8
- package/dist/cjs/ADWebcast.js +8 -8
- package/dist/cjs/ADWelcome.js +12 -12
- package/dist/cjs/{ADlgInfeed-442a5d8c.js → ADlgInfeed-0db07099.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -9
- package/dist/cjs/AdSlotsProvider.js +5 -5
- package/dist/cjs/AlgoliaSearch.js +869 -1058
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +14 -14
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -11
- package/dist/cjs/ArticleSeriesListing.js +29 -29
- package/dist/cjs/Auth.js +101 -133
- package/dist/cjs/AuthWrapper.js +37 -43
- package/dist/cjs/{AuthorComponent-7d00f6d5.js → AuthorComponent-39b37d84.js} +9 -9
- package/dist/cjs/{BlockContent-96b44364.js → BlockContent-9ebd251f.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -65
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +27 -27
- package/dist/cjs/ConferenceArticleCard.js +27 -27
- package/dist/cjs/{ConferenceBanner-213003ce.js → ConferenceBanner-6c9e718a.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -49
- package/dist/cjs/DeckContent.js +66 -66
- package/dist/cjs/DeckQueue.js +57 -57
- package/dist/cjs/DeckQueuePaginated.js +46 -46
- package/dist/cjs/{Dfp-c313a700.js → Dfp-9be904d5.js} +17 -17
- package/dist/cjs/EventsDeck.js +107 -107
- package/dist/cjs/ExternalResources.js +34 -34
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -134
- package/dist/cjs/GridContentPaginated.js +121 -121
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +114 -114
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +18 -18
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +28 -28
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-17fdaf3b.js → ImageSlider-6c00b878.js} +72 -72
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +48 -48
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +17 -17
- package/dist/cjs/MasterDeck.js +47 -47
- package/dist/cjs/MasterDeckPaginated.js +37 -37
- package/dist/cjs/{MediaSeriesCard-630e177e.js → MediaSeriesCard-84fa20f4.js} +552 -615
- package/dist/cjs/MediaSeriesLanding.js +40 -40
- package/dist/cjs/MediaSeriesLandingPaginated.js +39 -39
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-1fda6732.js → NavFooter-3dcd99a8.js} +11 -11
- package/dist/cjs/NavMagazine.js +116 -116
- package/dist/cjs/NavNative.js +106 -106
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-6359861a.js → Pagination-2a3d0103.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +49 -49
- package/dist/cjs/PartnerDetailListingPaginated.js +45 -45
- package/dist/cjs/PdfDownload.js +4 -4
- package/dist/cjs/PixelTracking.js +9 -9
- package/dist/cjs/PopUpModal.js +9 -9
- package/dist/cjs/PtceDeck.js +13 -13
- package/dist/cjs/PubSection.js +13 -13
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-a989a2b3.js → PublicationFeature-5ccf9b13.js} +29 -29
- package/dist/cjs/PublicationLanding.js +99 -99
- package/dist/cjs/QueueDeckExpanded.js +245 -245
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -222
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +42 -42
- package/dist/cjs/RelatedTopicsDropdown.js +24 -24
- package/dist/cjs/RolesDeck.js +20 -20
- package/dist/cjs/Schema.js +1 -1
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +18 -18
- package/dist/cjs/{SeriesSlider-18fc6e71.js → SeriesSlider-74546d19.js} +26 -26
- package/dist/cjs/SideFooter.js +20 -20
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-bac7d6fa.js → SocialSearchComponent-b7faaedc.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +11 -11
- package/dist/cjs/TemplateNormal.js +27 -27
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +9 -9
- package/dist/cjs/VerticalHero.js +10 -10
- package/dist/cjs/VideoProgramLandingPage.js +28 -28
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -11
- package/dist/cjs/VideoSeriesListing.js +46 -46
- package/dist/cjs/View.js +239 -224
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +37 -37
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-a195642e.js} +2 -2
- package/dist/cjs/getSerializers.js +6 -6
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-dab97fe1.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-be4097c0.js +4 -2
- package/dist/cjs/{index-d6f7f994.js → index-7f3d9184.js} +481 -481
- package/dist/cjs/{index-65621b6c.js → index-eadd5035.js} +5 -5
- package/dist/cjs/{index-96c331fd.js → index-f86bb269.js} +52 -53
- package/dist/cjs/{index-d2a6ef75.js → index-fc2f1ca2.js} +4 -4
- package/dist/cjs/{index.es-1ab8dda7.js → index.es-f3e47207.js} +4 -4
- package/dist/cjs/{index.esm-70e78156.js → index.esm-2bb721c8.js} +14 -14
- package/dist/cjs/index.js +102 -102
- package/dist/cjs/{main-6054981e.js → main-f1c77adb.js} +22 -17
- package/dist/cjs/{react-social-icons-2c5c389a.js → react-social-icons-af932527.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-56020df6.js → visibility-sensor-eb2c5b69.js} +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -2
- package/dist/esm/AD300x250x600.js +2 -2
- package/dist/esm/AD728x90.js +2 -2
- package/dist/esm/ADFloatingFooter.js +2 -2
- package/dist/esm/ADFooter.js +1 -1
- package/dist/esm/ADGutter.js +2 -2
- package/dist/esm/ADSkyscraper.js +2 -2
- package/dist/esm/ADSponsoredResources.js +2 -2
- package/dist/esm/ADWebcast.js +2 -2
- package/dist/esm/ADWelcome.js +2 -2
- package/dist/esm/AccordionPanel.js +1 -1
- package/dist/esm/AdSlot.js +2 -2
- package/dist/esm/AdSlotsProvider.js +2 -2
- package/dist/esm/AlgoliaSearch.js +486 -675
- package/dist/esm/AlphabeticList.js +1 -1
- package/dist/esm/ArticleCarousel.js +2 -2
- package/dist/esm/ArticleProgramLandingPage.js +3 -3
- package/dist/esm/ArticleSeriesLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesListing.js +2 -2
- package/dist/esm/Auth.js +29 -60
- package/dist/esm/AuthWrapper.js +14 -20
- package/dist/esm/Beam.js +1 -1
- package/dist/esm/Breadcrumbs.js +1 -1
- package/dist/esm/CMEDeck.js +3 -7
- package/dist/esm/Column1.js +2 -1
- package/dist/esm/Column2.js +2 -1
- package/dist/esm/Column3.js +3 -2
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/ContentCardPaginated.js +4 -4
- package/dist/esm/DeckContent.js +11 -11
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +3 -3
- package/dist/esm/Dfp-102f0beb.js +1 -1
- package/dist/esm/EventsDeck.js +20 -20
- package/dist/esm/ExternalResources.js +4 -4
- package/dist/esm/Feature.js +2 -2
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +5 -5
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/GroupDeck.js +1 -1
- package/dist/esm/HamMagazine.js +13 -12
- package/dist/esm/Header.js +2 -1
- package/dist/esm/HealthCareProfessionalModal.js +2 -2
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +3 -3
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueDeck.js +1 -1
- package/dist/esm/IssueLanding.js +34 -34
- package/dist/esm/KMTracker.js +16 -16
- package/dist/esm/LeftNav.js +3 -2
- package/dist/esm/MasterDeck.js +12 -12
- package/dist/esm/MasterDeckPaginated.js +13 -13
- package/dist/esm/{MediaSeriesCard-64c51b1f.js → MediaSeriesCard-22059712.js} +97 -160
- package/dist/esm/MediaSeriesLanding.js +11 -11
- package/dist/esm/MediaSeriesLandingPaginated.js +12 -12
- package/dist/esm/NavDvm.js +2 -1
- package/dist/esm/NavMagazine.js +14 -13
- package/dist/esm/NavNative.js +12 -11
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/PageFilter.js +1 -1
- package/dist/esm/{Pagination-9fe9f61d.js → Pagination-dc30727b.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +5 -5
- package/dist/esm/PartnerDetailListingPaginated.js +6 -6
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +1 -1
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +4 -4
- package/dist/esm/PubToc.js +1 -1
- package/dist/esm/PublicationDeck.js +1 -1
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -5
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +1 -1
- package/dist/esm/Schema.js +1 -1
- package/dist/esm/Search.js +1 -1
- package/dist/esm/Segment.js +1 -1
- package/dist/esm/SeriesListingDeck.js +3 -3
- package/dist/esm/{SeriesSlider-5728e349.js → SeriesSlider-e495571f.js} +5 -5
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +3 -3
- package/dist/esm/SocialIcons.js +1 -1
- package/dist/esm/{SocialSearchComponent-c249903e.js → SocialSearchComponent-4b56cd8c.js} +1 -1
- package/dist/esm/SocialShare.js +1 -1
- package/dist/esm/TaxonomyCard.js +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -3
- package/dist/esm/TemplateNormal.js +3 -3
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +2 -2
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -3
- package/dist/esm/VideoSeriesCard.js +2 -2
- package/dist/esm/VideoSeriesFilter.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +4 -4
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/View.js +22 -7
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +6 -6
- package/dist/esm/getKeywords.js +1 -1
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getRootDocGroup.js +1 -1
- package/dist/esm/getSerializers.js +2 -2
- package/dist/esm/getSeriesDetail.js +1 -1
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-04d979c9.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-7ca7221e.js → index-1df13f26.js} +1 -1
- package/dist/esm/{index-30a6257d.js → index-79cfd25c.js} +52 -53
- package/dist/esm/index.js +8 -8
- package/dist/esm/{main-9f6806ea.js → main-1894c974.js} +9 -4
- package/dist/esm/stringify-2b084bee.js +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/ustream-api-d3714624.js +1 -1
- package/package.json +115 -115
- /package/dist/esm/{ADInfeed-d93886e3.js → ADInfeed-6d1fc6bf.js} +0 -0
- /package/dist/esm/{ADlgInfeed-93777a49.js → ADlgInfeed-dc36c928.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-fc2f1ca2.js');
|
|
8
8
|
var Router = require('next/router');
|
|
9
9
|
var index$1 = require('./index-187c967e.js');
|
|
10
10
|
var PropTypes = require('prop-types');
|
|
@@ -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-f1c77adb.js');
|
|
16
|
+
var BlockContent = require('./BlockContent-9ebd251f.js');
|
|
17
17
|
var _extends = require('./extends-7c86182f.js');
|
|
18
18
|
var urlForFile = require('./urlForFile-29d3815a.js');
|
|
19
|
-
var index$2 = require('./index-
|
|
19
|
+
var index$2 = require('./index-eadd5035.js');
|
|
20
20
|
var asyncToGenerator = require('./asyncToGenerator-77821af0.js');
|
|
21
21
|
var _typeof$1 = require('./typeof-567e31ff.js');
|
|
22
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-
|
|
22
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-a195642e.js');
|
|
23
23
|
var stringify = require('./stringify-f7a37a8d.js');
|
|
24
24
|
var Modal = require('react-bootstrap/Modal');
|
|
25
25
|
var Button = require('react-bootstrap/Button');
|
|
@@ -65,7 +65,7 @@ var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
|
65
65
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
66
66
|
var pageNumber = selectedIndex + 1;
|
|
67
67
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
68
|
-
Router__default[
|
|
68
|
+
Router__default['default'].push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
var Slideshow$1 = function Slideshow(_ref) {
|
|
@@ -95,27 +95,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
95
95
|
if (pageview) pageview(router.asPath);
|
|
96
96
|
}, [router]);
|
|
97
97
|
|
|
98
|
-
return React__default[
|
|
98
|
+
return React__default['default'].createElement(
|
|
99
99
|
'div',
|
|
100
100
|
{ className: 'mt-3 mb-3' },
|
|
101
|
-
React__default[
|
|
101
|
+
React__default['default'].createElement(
|
|
102
102
|
reactBootstrap.Carousel,
|
|
103
103
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
104
104
|
return onChangeSlide(selectedIndex, router);
|
|
105
105
|
}, interval: null },
|
|
106
106
|
slides && slides.map(function (slide) {
|
|
107
|
-
return React__default[
|
|
107
|
+
return React__default['default'].createElement(
|
|
108
108
|
reactBootstrap.Carousel.Item,
|
|
109
109
|
{ key: slide._key },
|
|
110
|
-
React__default[
|
|
110
|
+
React__default['default'].createElement(
|
|
111
111
|
'picture',
|
|
112
112
|
null,
|
|
113
|
-
React__default[
|
|
114
|
-
React__default[
|
|
115
|
-
React__default[
|
|
116
|
-
React__default[
|
|
113
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
114
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
115
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
116
|
+
React__default['default'].createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
117
117
|
),
|
|
118
|
-
slide.caption && React__default[
|
|
118
|
+
slide.caption && React__default['default'].createElement(
|
|
119
119
|
'p',
|
|
120
120
|
{ className: 'p-2' },
|
|
121
121
|
slide.caption
|
|
@@ -1857,9 +1857,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1857
1857
|
}, {
|
|
1858
1858
|
key: "render",
|
|
1859
1859
|
value: function render() {
|
|
1860
|
-
return /*#__PURE__*/React__default[
|
|
1860
|
+
return /*#__PURE__*/React__default['default'].createElement("div", {
|
|
1861
1861
|
className: this.props.containerClassName
|
|
1862
|
-
}, /*#__PURE__*/React__default[
|
|
1862
|
+
}, /*#__PURE__*/React__default['default'].createElement("div", {
|
|
1863
1863
|
id: this.props.id,
|
|
1864
1864
|
className: this.props.className,
|
|
1865
1865
|
ref: this.refContainer
|
|
@@ -1868,7 +1868,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1868
1868
|
}]);
|
|
1869
1869
|
|
|
1870
1870
|
return YouTube;
|
|
1871
|
-
}(React__default[
|
|
1871
|
+
}(React__default['default'].Component);
|
|
1872
1872
|
|
|
1873
1873
|
_defineProperty(YouTube, "PlayerState", {
|
|
1874
1874
|
UNSTARTED: -1,
|
|
@@ -1880,24 +1880,24 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1880
1880
|
});
|
|
1881
1881
|
|
|
1882
1882
|
YouTube.propTypes = {
|
|
1883
|
-
videoId: PropTypes__default[
|
|
1883
|
+
videoId: PropTypes__default['default'].string,
|
|
1884
1884
|
// custom ID for player element
|
|
1885
|
-
id: PropTypes__default[
|
|
1885
|
+
id: PropTypes__default['default'].string,
|
|
1886
1886
|
// custom class name for player element
|
|
1887
|
-
className: PropTypes__default[
|
|
1887
|
+
className: PropTypes__default['default'].string,
|
|
1888
1888
|
// custom class name for player container element
|
|
1889
|
-
containerClassName: PropTypes__default[
|
|
1889
|
+
containerClassName: PropTypes__default['default'].string,
|
|
1890
1890
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1891
|
-
opts: PropTypes__default[
|
|
1891
|
+
opts: PropTypes__default['default'].objectOf(PropTypes__default['default'].any),
|
|
1892
1892
|
// event subscriptions
|
|
1893
|
-
onReady: PropTypes__default[
|
|
1894
|
-
onError: PropTypes__default[
|
|
1895
|
-
onPlay: PropTypes__default[
|
|
1896
|
-
onPause: PropTypes__default[
|
|
1897
|
-
onEnd: PropTypes__default[
|
|
1898
|
-
onStateChange: PropTypes__default[
|
|
1899
|
-
onPlaybackRateChange: PropTypes__default[
|
|
1900
|
-
onPlaybackQualityChange: PropTypes__default[
|
|
1893
|
+
onReady: PropTypes__default['default'].func,
|
|
1894
|
+
onError: PropTypes__default['default'].func,
|
|
1895
|
+
onPlay: PropTypes__default['default'].func,
|
|
1896
|
+
onPause: PropTypes__default['default'].func,
|
|
1897
|
+
onEnd: PropTypes__default['default'].func,
|
|
1898
|
+
onStateChange: PropTypes__default['default'].func,
|
|
1899
|
+
onPlaybackRateChange: PropTypes__default['default'].func,
|
|
1900
|
+
onPlaybackQualityChange: PropTypes__default['default'].func
|
|
1901
1901
|
};
|
|
1902
1902
|
YouTube.defaultProps = {
|
|
1903
1903
|
videoId: null,
|
|
@@ -2015,11 +2015,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2015
2015
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2016
2016
|
};
|
|
2017
2017
|
|
|
2018
|
-
return React__default[
|
|
2018
|
+
return React__default['default'].createElement(
|
|
2019
2019
|
'div',
|
|
2020
2020
|
{ id: 'fluid-video-container' },
|
|
2021
|
-
React__default[
|
|
2022
|
-
React__default[
|
|
2021
|
+
React__default['default'].createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2022
|
+
React__default['default'].createElement(
|
|
2023
2023
|
'style',
|
|
2024
2024
|
{ jsx: 'true' },
|
|
2025
2025
|
'\n #fluid-video-container {\n margin-bottom: 2rem;\n }\n #fluid-video-container > div {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n }\n #fluid-video-container .fluid-iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100% !important;\n }\n '
|
|
@@ -2032,20 +2032,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2032
2032
|
content = _ref.content,
|
|
2033
2033
|
getSerializers = _ref.getSerializers;
|
|
2034
2034
|
|
|
2035
|
-
return React__default[
|
|
2035
|
+
return React__default['default'].createElement(
|
|
2036
2036
|
'article',
|
|
2037
2037
|
{ className: 'sidebar' },
|
|
2038
|
-
React__default[
|
|
2038
|
+
React__default['default'].createElement(
|
|
2039
2039
|
'div',
|
|
2040
2040
|
null,
|
|
2041
|
-
React__default[
|
|
2041
|
+
React__default['default'].createElement(
|
|
2042
2042
|
'h3',
|
|
2043
2043
|
null,
|
|
2044
2044
|
caption
|
|
2045
2045
|
),
|
|
2046
|
-
React__default[
|
|
2046
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2047
2047
|
),
|
|
2048
|
-
React__default[
|
|
2048
|
+
React__default['default'].createElement(
|
|
2049
2049
|
'style',
|
|
2050
2050
|
{ jsx: 'true' },
|
|
2051
2051
|
'\n .sidebar {\n clear: both;\n float: right;\n background-color: #eee;\n width: 40%;\n padding: 1rem;\n margin: 0 0 1rem 1rem;\n }\n /* resolving list items inside sidebar being shifted to center because of unusual margin */\n .sidebar ul {\n margin-left: 0;\n padding-left: 1rem;\n }\n @media screen and (max-width: 991px) {\n .sidebar {\n float: none;\n width: auto;\n margin: 1rem 0;\n }\n }\n '
|
|
@@ -2056,18 +2056,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2056
2056
|
var TableShow = function TableShow(_ref) {
|
|
2057
2057
|
var rows = _ref.rows;
|
|
2058
2058
|
|
|
2059
|
-
return React__default[
|
|
2059
|
+
return React__default['default'].createElement(
|
|
2060
2060
|
reactBootstrap.Table,
|
|
2061
2061
|
{ bordered: true, hover: true, responsive: true },
|
|
2062
|
-
React__default[
|
|
2062
|
+
React__default['default'].createElement(
|
|
2063
2063
|
'tbody',
|
|
2064
2064
|
null,
|
|
2065
2065
|
rows && rows.map(function (row) {
|
|
2066
|
-
return React__default[
|
|
2066
|
+
return React__default['default'].createElement(
|
|
2067
2067
|
'tr',
|
|
2068
2068
|
{ key: row._key },
|
|
2069
2069
|
row.cells && row.cells.map(function (cell, index) {
|
|
2070
|
-
return cell && React__default[
|
|
2070
|
+
return cell && React__default['default'].createElement(
|
|
2071
2071
|
'td',
|
|
2072
2072
|
{ key: index },
|
|
2073
2073
|
cell
|
|
@@ -2165,25 +2165,25 @@ var Media = function Media(_ref) {
|
|
|
2165
2165
|
margin: imageMargin
|
|
2166
2166
|
};
|
|
2167
2167
|
|
|
2168
|
-
return React__default[
|
|
2168
|
+
return React__default['default'].createElement(
|
|
2169
2169
|
reactBootstrap.Figure,
|
|
2170
2170
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2171
|
-
React__default[
|
|
2171
|
+
React__default['default'].createElement(
|
|
2172
2172
|
'a',
|
|
2173
2173
|
{ href: urlForFile.urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2174
|
-
React__default[
|
|
2174
|
+
React__default['default'].createElement(
|
|
2175
2175
|
index$2.LazyLoad,
|
|
2176
2176
|
{ once: true },
|
|
2177
|
-
React__default[
|
|
2177
|
+
React__default['default'].createElement(
|
|
2178
2178
|
'picture',
|
|
2179
2179
|
null,
|
|
2180
|
-
React__default[
|
|
2181
|
-
React__default[
|
|
2182
|
-
React__default[
|
|
2183
|
-
React__default[
|
|
2180
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2181
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2182
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2183
|
+
React__default['default'].createElement('img', _extends._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2184
2184
|
)
|
|
2185
2185
|
),
|
|
2186
|
-
caption && React__default[
|
|
2186
|
+
caption && React__default['default'].createElement(
|
|
2187
2187
|
reactBootstrap.Figure.Caption,
|
|
2188
2188
|
{ className: 'media-caption' },
|
|
2189
2189
|
caption
|
|
@@ -2191,7 +2191,7 @@ var Media = function Media(_ref) {
|
|
|
2191
2191
|
)
|
|
2192
2192
|
);
|
|
2193
2193
|
} else if (caption && caption !== '') {
|
|
2194
|
-
return React__default[
|
|
2194
|
+
return React__default['default'].createElement(
|
|
2195
2195
|
'a',
|
|
2196
2196
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2197
2197
|
href: urlForFile.urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2211,10 +2211,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2211
2211
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2212
2212
|
|
|
2213
2213
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2214
|
-
return React__default[
|
|
2214
|
+
return React__default['default'].createElement(
|
|
2215
2215
|
'div',
|
|
2216
2216
|
{ className: 'd-block text-center mb-3' },
|
|
2217
|
-
React__default[
|
|
2217
|
+
React__default['default'].createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2218
2218
|
);
|
|
2219
2219
|
};
|
|
2220
2220
|
|
|
@@ -2224,7 +2224,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2224
2224
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2225
2225
|
|
|
2226
2226
|
var choiceArray = choices.map(function (choice) {
|
|
2227
|
-
return React__default[
|
|
2227
|
+
return React__default['default'].createElement(Form__default['default'].Check, {
|
|
2228
2228
|
inline: true,
|
|
2229
2229
|
label: choice.choiceText,
|
|
2230
2230
|
value: choice.choiceText,
|
|
@@ -2234,19 +2234,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2234
2234
|
onClick: handlePollAnswer
|
|
2235
2235
|
});
|
|
2236
2236
|
});
|
|
2237
|
-
return React__default[
|
|
2237
|
+
return React__default['default'].createElement(
|
|
2238
2238
|
'div',
|
|
2239
2239
|
{
|
|
2240
2240
|
key: 'inline-radio',
|
|
2241
2241
|
className: 'mb-3' },
|
|
2242
|
-
React__default[
|
|
2242
|
+
React__default['default'].createElement(
|
|
2243
2243
|
'h2',
|
|
2244
2244
|
{
|
|
2245
2245
|
className: 'radioLabelText'
|
|
2246
2246
|
},
|
|
2247
2247
|
question
|
|
2248
2248
|
),
|
|
2249
|
-
React__default[
|
|
2249
|
+
React__default['default'].createElement(
|
|
2250
2250
|
'div',
|
|
2251
2251
|
{
|
|
2252
2252
|
className: 'multiChoiceDiv'
|
|
@@ -2261,19 +2261,19 @@ var PopupPollTextInput = function PopupPollTextInput(_ref) {
|
|
|
2261
2261
|
textAnswer = _ref.textAnswer,
|
|
2262
2262
|
handleTextAnswer = _ref.handleTextAnswer;
|
|
2263
2263
|
|
|
2264
|
-
return React__default[
|
|
2264
|
+
return React__default['default'].createElement(
|
|
2265
2265
|
'div',
|
|
2266
2266
|
{
|
|
2267
2267
|
className: 'textInputDiv'
|
|
2268
2268
|
},
|
|
2269
|
-
React__default[
|
|
2269
|
+
React__default['default'].createElement(
|
|
2270
2270
|
'h2',
|
|
2271
2271
|
{
|
|
2272
2272
|
className: 'textInputQuestion'
|
|
2273
2273
|
},
|
|
2274
2274
|
textInputQuestion
|
|
2275
2275
|
),
|
|
2276
|
-
React__default[
|
|
2276
|
+
React__default['default'].createElement(Form__default['default'].Control, {
|
|
2277
2277
|
type: 'text',
|
|
2278
2278
|
className: 'textInput',
|
|
2279
2279
|
value: textAnswer,
|
|
@@ -2383,32 +2383,32 @@ var PopupPollModal = function PopupPollModal(props) {
|
|
|
2383
2383
|
var pollArray = [];
|
|
2384
2384
|
pollItems.forEach(function (item, ind) {
|
|
2385
2385
|
if (item.format === 'multiChoice') {
|
|
2386
|
-
pollArray.push(React__default[
|
|
2386
|
+
pollArray.push(React__default['default'].createElement(PopupMultiChoice, { question: item.question, choices: item.choices, handlePollAnswer: handlePollAnswer, key: ind }));
|
|
2387
2387
|
}
|
|
2388
2388
|
if (item.format === 'textInput') {
|
|
2389
|
-
pollArray.push(React__default[
|
|
2389
|
+
pollArray.push(React__default['default'].createElement(PopupPollTextInput, { textInputQuestion: item.question, textanswer: textAnswer, handleTextAnswer: handleTextAnswer, key: ind }));
|
|
2390
2390
|
}
|
|
2391
2391
|
});
|
|
2392
2392
|
|
|
2393
|
-
return React__default[
|
|
2393
|
+
return React__default['default'].createElement(
|
|
2394
2394
|
'div',
|
|
2395
2395
|
{ className: 'modalDiv', id: 'modalDiv' },
|
|
2396
|
-
React__default[
|
|
2397
|
-
Modal__default[
|
|
2396
|
+
React__default['default'].createElement(
|
|
2397
|
+
Modal__default['default'].Dialog,
|
|
2398
2398
|
null,
|
|
2399
|
-
React__default[
|
|
2400
|
-
Modal__default[
|
|
2399
|
+
React__default['default'].createElement(
|
|
2400
|
+
Modal__default['default'].Body,
|
|
2401
2401
|
null,
|
|
2402
|
-
React__default[
|
|
2403
|
-
Form__default[
|
|
2402
|
+
React__default['default'].createElement(
|
|
2403
|
+
Form__default['default'],
|
|
2404
2404
|
{ onSubmit: handleSubmit, className: 'modalForm' },
|
|
2405
2405
|
pollArray,
|
|
2406
|
-
textInputRender && !multiChoiceRender ? React__default[
|
|
2407
|
-
Button__default[
|
|
2406
|
+
textInputRender && !multiChoiceRender ? React__default['default'].createElement(
|
|
2407
|
+
Button__default['default'],
|
|
2408
2408
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !textAnswer },
|
|
2409
2409
|
'Submit'
|
|
2410
|
-
) : React__default[
|
|
2411
|
-
Button__default[
|
|
2410
|
+
) : React__default['default'].createElement(
|
|
2411
|
+
Button__default['default'],
|
|
2412
2412
|
{ className: 'submitButton', type: 'submit', variant: 'success', disabled: !pollAnswer },
|
|
2413
2413
|
'Submit'
|
|
2414
2414
|
)
|
|
@@ -2571,10 +2571,10 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2571
2571
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment, 'MP4');
|
|
2572
2572
|
};
|
|
2573
2573
|
|
|
2574
|
-
return React__default[
|
|
2574
|
+
return React__default['default'].createElement(
|
|
2575
2575
|
'div',
|
|
2576
2576
|
null,
|
|
2577
|
-
isPollingTime ? React__default[
|
|
2577
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2578
2578
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2579
2579
|
, { pollItems: pollItems
|
|
2580
2580
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2588,7 +2588,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2588
2588
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2589
2589
|
, multiChoiceRender: multiChoiceRender
|
|
2590
2590
|
}) : null,
|
|
2591
|
-
vidLoaded && React__default[
|
|
2591
|
+
vidLoaded && React__default['default'].createElement(
|
|
2592
2592
|
'video',
|
|
2593
2593
|
{
|
|
2594
2594
|
poster: thumbnail || '',
|
|
@@ -2606,7 +2606,7 @@ var VideoMp4 = function VideoMp4(_ref) {
|
|
|
2606
2606
|
onPlay: function onPlay(e) {
|
|
2607
2607
|
return handleOnPlay(e);
|
|
2608
2608
|
} },
|
|
2609
|
-
React__default[
|
|
2609
|
+
React__default['default'].createElement('source', { src: url, type: 'video/mp4' }),
|
|
2610
2610
|
'Your browser does not support the video tag.'
|
|
2611
2611
|
)
|
|
2612
2612
|
);
|
|
@@ -2857,10 +2857,10 @@ var Video = function Video(_ref) {
|
|
|
2857
2857
|
|
|
2858
2858
|
if (source === 'brightcove' && accountIDs.brightcove) {
|
|
2859
2859
|
if (videoID) {
|
|
2860
|
-
return React__default[
|
|
2860
|
+
return React__default['default'].createElement(
|
|
2861
2861
|
'div',
|
|
2862
2862
|
null,
|
|
2863
|
-
isPollingTime ? React__default[
|
|
2863
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2864
2864
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2865
2865
|
, { pollItems: pollItems
|
|
2866
2866
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2874,7 +2874,7 @@ var Video = function Video(_ref) {
|
|
|
2874
2874
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2875
2875
|
, multiChoiceRender: multiChoiceRender
|
|
2876
2876
|
}) : null,
|
|
2877
|
-
React__default[
|
|
2877
|
+
React__default['default'].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2878
2878
|
onSuccess: onVideoSuccess,
|
|
2879
2879
|
onFailure: onVideoFailure,
|
|
2880
2880
|
accountId: accountIDs.brightcove.accountId,
|
|
@@ -2882,17 +2882,17 @@ var Video = function Video(_ref) {
|
|
|
2882
2882
|
playerId: accountIDs.brightcove.playerId,
|
|
2883
2883
|
attrs: { className: 'brightcove-fluid', autoPlay: 'muted' }
|
|
2884
2884
|
}),
|
|
2885
|
-
React__default[
|
|
2885
|
+
React__default['default'].createElement(
|
|
2886
2886
|
'style',
|
|
2887
2887
|
{ jsx: 'true' },
|
|
2888
2888
|
'\n .brightcove-fluid {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n margin-bottom: 1rem;\n }\n .brightcove-fluid .video-js {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n '
|
|
2889
2889
|
)
|
|
2890
2890
|
);
|
|
2891
2891
|
} else if (playlistID) {
|
|
2892
|
-
return React__default[
|
|
2892
|
+
return React__default['default'].createElement(
|
|
2893
2893
|
'div',
|
|
2894
2894
|
null,
|
|
2895
|
-
isPollingTime ? React__default[
|
|
2895
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2896
2896
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2897
2897
|
, { pollItems: pollItems
|
|
2898
2898
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2906,7 +2906,7 @@ var Video = function Video(_ref) {
|
|
|
2906
2906
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2907
2907
|
, multiChoiceRender: multiChoiceRender
|
|
2908
2908
|
}) : null,
|
|
2909
|
-
React__default[
|
|
2909
|
+
React__default['default'].createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, {
|
|
2910
2910
|
accountId: accountIDs.brightcove.accountId,
|
|
2911
2911
|
playlistId: playlistID,
|
|
2912
2912
|
playerId: accountIDs.brightcove.playerId,
|
|
@@ -2914,18 +2914,18 @@ var Video = function Video(_ref) {
|
|
|
2914
2914
|
onFailure: onVideoFailure,
|
|
2915
2915
|
attrs: { className: 'brightcove-fluid brightcove-playlist', autoplay: 'muted' }
|
|
2916
2916
|
}),
|
|
2917
|
-
React__default[
|
|
2917
|
+
React__default['default'].createElement(
|
|
2918
2918
|
'style',
|
|
2919
2919
|
{ jsx: 'true' },
|
|
2920
2920
|
'\n .brightcove-fluid {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n width: 100%;\n margin-bottom: 1rem;\n }\n .brightcove-fluid .video-js {\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n }\n '
|
|
2921
2921
|
)
|
|
2922
2922
|
);
|
|
2923
2923
|
} else if (experienceID) {
|
|
2924
|
-
return React__default[
|
|
2924
|
+
return React__default['default'].createElement(
|
|
2925
2925
|
'div',
|
|
2926
2926
|
{ className: 'brightcove-playlist', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
2927
|
-
React__default[
|
|
2928
|
-
isPollingTime ? React__default[
|
|
2927
|
+
React__default['default'].createElement('div', { 'data-experience': experienceID }),
|
|
2928
|
+
isPollingTime ? React__default['default'].createElement(PopupPollModal
|
|
2929
2929
|
// eslint-disable-next-line react/jsx-indent-props
|
|
2930
2930
|
, { pollItems: pollItems
|
|
2931
2931
|
// eslint-disable-next-line react/jsx-indent-props
|
|
@@ -2945,10 +2945,10 @@ var Video = function Video(_ref) {
|
|
|
2945
2945
|
}
|
|
2946
2946
|
|
|
2947
2947
|
if (source === 'mp4') {
|
|
2948
|
-
return React__default[
|
|
2948
|
+
return React__default['default'].createElement(
|
|
2949
2949
|
'div',
|
|
2950
2950
|
null,
|
|
2951
|
-
React__default[
|
|
2951
|
+
React__default['default'].createElement(VideoMp4, { url: node.mp4url, thumbnail: null, vidLoaded: true, polls: polls, modalTimes: modalTimes, targetingUrl: targeting.document_url[0] })
|
|
2952
2952
|
);
|
|
2953
2953
|
}
|
|
2954
2954
|
|
|
@@ -2963,7 +2963,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
2963
2963
|
});
|
|
2964
2964
|
exports.DEPRECATED_CONFIG_PROPS = exports.defaultProps = exports.propTypes = void 0;
|
|
2965
2965
|
|
|
2966
|
-
var _propTypes = _interopRequireDefault(PropTypes__default[
|
|
2966
|
+
var _propTypes = _interopRequireDefault(PropTypes__default['default']);
|
|
2967
2967
|
|
|
2968
2968
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
2969
2969
|
|
|
@@ -3553,7 +3553,7 @@ function isEqual(a, b) {
|
|
|
3553
3553
|
return true;
|
|
3554
3554
|
}
|
|
3555
3555
|
|
|
3556
|
-
if ((0, React__default[
|
|
3556
|
+
if ((0, React__default['default'].isValidElement)(a) && (0, React__default['default'].isValidElement)(b)) {
|
|
3557
3557
|
return true;
|
|
3558
3558
|
}
|
|
3559
3559
|
|
|
@@ -3615,7 +3615,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
3615
3615
|
});
|
|
3616
3616
|
exports["default"] = void 0;
|
|
3617
3617
|
|
|
3618
|
-
var _react = _interopRequireWildcard(React__default[
|
|
3618
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
3619
3619
|
|
|
3620
3620
|
|
|
3621
3621
|
|
|
@@ -4025,7 +4025,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4025
4025
|
});
|
|
4026
4026
|
exports["default"] = createSinglePlayer;
|
|
4027
4027
|
|
|
4028
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4028
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4029
4029
|
|
|
4030
4030
|
|
|
4031
4031
|
|
|
@@ -4183,7 +4183,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4183
4183
|
});
|
|
4184
4184
|
exports["default"] = exports.YouTube = void 0;
|
|
4185
4185
|
|
|
4186
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4186
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4187
4187
|
|
|
4188
4188
|
|
|
4189
4189
|
|
|
@@ -4492,7 +4492,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4492
4492
|
});
|
|
4493
4493
|
exports["default"] = exports.SoundCloud = void 0;
|
|
4494
4494
|
|
|
4495
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4495
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4496
4496
|
|
|
4497
4497
|
|
|
4498
4498
|
|
|
@@ -4709,7 +4709,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4709
4709
|
});
|
|
4710
4710
|
exports["default"] = exports.Vimeo = void 0;
|
|
4711
4711
|
|
|
4712
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4712
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4713
4713
|
|
|
4714
4714
|
|
|
4715
4715
|
|
|
@@ -4965,7 +4965,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4965
4965
|
});
|
|
4966
4966
|
exports["default"] = exports.Facebook = void 0;
|
|
4967
4967
|
|
|
4968
|
-
var _react = _interopRequireWildcard(React__default[
|
|
4968
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
4969
4969
|
|
|
4970
4970
|
|
|
4971
4971
|
|
|
@@ -5177,7 +5177,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5177
5177
|
});
|
|
5178
5178
|
exports["default"] = exports.Streamable = void 0;
|
|
5179
5179
|
|
|
5180
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5180
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5181
5181
|
|
|
5182
5182
|
|
|
5183
5183
|
|
|
@@ -5388,7 +5388,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5388
5388
|
});
|
|
5389
5389
|
exports["default"] = exports.Wistia = void 0;
|
|
5390
5390
|
|
|
5391
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5391
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5392
5392
|
|
|
5393
5393
|
|
|
5394
5394
|
|
|
@@ -5631,7 +5631,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5631
5631
|
});
|
|
5632
5632
|
exports["default"] = exports.Twitch = void 0;
|
|
5633
5633
|
|
|
5634
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5634
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5635
5635
|
|
|
5636
5636
|
|
|
5637
5637
|
|
|
@@ -5847,7 +5847,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5847
5847
|
});
|
|
5848
5848
|
exports["default"] = exports.DailyMotion = void 0;
|
|
5849
5849
|
|
|
5850
|
-
var _react = _interopRequireWildcard(React__default[
|
|
5850
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
5851
5851
|
|
|
5852
5852
|
|
|
5853
5853
|
|
|
@@ -6083,7 +6083,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6083
6083
|
});
|
|
6084
6084
|
exports["default"] = exports.Mixcloud = void 0;
|
|
6085
6085
|
|
|
6086
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6086
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
6087
6087
|
|
|
6088
6088
|
|
|
6089
6089
|
|
|
@@ -6282,7 +6282,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6282
6282
|
});
|
|
6283
6283
|
exports["default"] = exports.FilePlayer = void 0;
|
|
6284
6284
|
|
|
6285
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6285
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
6286
6286
|
|
|
6287
6287
|
|
|
6288
6288
|
|
|
@@ -6849,7 +6849,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6849
6849
|
});
|
|
6850
6850
|
exports["default"] = void 0;
|
|
6851
6851
|
|
|
6852
|
-
var _react = _interopRequireWildcard(React__default[
|
|
6852
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
6853
6853
|
|
|
6854
6854
|
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
|
6855
6855
|
|
|
@@ -7028,7 +7028,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7028
7028
|
});
|
|
7029
7029
|
exports["default"] = renderPreloadPlayers;
|
|
7030
7030
|
|
|
7031
|
-
var _react = _interopRequireDefault(React__default[
|
|
7031
|
+
var _react = _interopRequireDefault(React__default['default']);
|
|
7032
7032
|
|
|
7033
7033
|
var _Player = _interopRequireDefault(Player_1);
|
|
7034
7034
|
|
|
@@ -7167,7 +7167,7 @@ Object.defineProperty(exports, "Mixcloud", {
|
|
|
7167
7167
|
});
|
|
7168
7168
|
exports["default"] = void 0;
|
|
7169
7169
|
|
|
7170
|
-
var _react = _interopRequireWildcard(React__default[
|
|
7170
|
+
var _react = _interopRequireWildcard(React__default['default']);
|
|
7171
7171
|
|
|
7172
7172
|
|
|
7173
7173
|
|
|
@@ -7483,7 +7483,7 @@ var Audio = function Audio(_ref) {
|
|
|
7483
7483
|
var audioSource = node && node.uploadAudio ? node.uploadAudio.asset.url : '';
|
|
7484
7484
|
var reportPlay = function reportPlay() {
|
|
7485
7485
|
console.log('Reporting audio playback play to GA');
|
|
7486
|
-
ReactGA__default[
|
|
7486
|
+
ReactGA__default['default'].event({
|
|
7487
7487
|
category: 'User',
|
|
7488
7488
|
action: 'Audio Play',
|
|
7489
7489
|
label: 'Play: ' + audioSource
|
|
@@ -7493,7 +7493,7 @@ var Audio = function Audio(_ref) {
|
|
|
7493
7493
|
};
|
|
7494
7494
|
var reportPause = function reportPause() {
|
|
7495
7495
|
console.log('Reporting audio playback pause to GA');
|
|
7496
|
-
ReactGA__default[
|
|
7496
|
+
ReactGA__default['default'].event({
|
|
7497
7497
|
category: 'User',
|
|
7498
7498
|
action: 'Audio Pause',
|
|
7499
7499
|
label: 'Pause: ' + audioSource
|
|
@@ -7503,7 +7503,7 @@ var Audio = function Audio(_ref) {
|
|
|
7503
7503
|
};
|
|
7504
7504
|
var reportEnd = function reportEnd() {
|
|
7505
7505
|
console.log('Reporting audio playback end to GA');
|
|
7506
|
-
ReactGA__default[
|
|
7506
|
+
ReactGA__default['default'].event({
|
|
7507
7507
|
category: 'User',
|
|
7508
7508
|
action: 'Audio Playback End',
|
|
7509
7509
|
label: 'Playback End: ' + audioSource
|
|
@@ -7512,10 +7512,10 @@ var Audio = function Audio(_ref) {
|
|
|
7512
7512
|
}));
|
|
7513
7513
|
};
|
|
7514
7514
|
if (node.uploadAudio) {
|
|
7515
|
-
return React__default[
|
|
7515
|
+
return React__default['default'].createElement(
|
|
7516
7516
|
'div',
|
|
7517
7517
|
{ className: 'audio d-block text-center mb-3' },
|
|
7518
|
-
React__default[
|
|
7518
|
+
React__default['default'].createElement(
|
|
7519
7519
|
'audio',
|
|
7520
7520
|
{
|
|
7521
7521
|
controls: true, controlsList: 'nodownload',
|
|
@@ -7524,14 +7524,14 @@ var Audio = function Audio(_ref) {
|
|
|
7524
7524
|
onPause: reportPause,
|
|
7525
7525
|
onEnded: reportEnd
|
|
7526
7526
|
},
|
|
7527
|
-
React__default[
|
|
7528
|
-
React__default[
|
|
7527
|
+
React__default['default'].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/ogg' }),
|
|
7528
|
+
React__default['default'].createElement('source', { src: node.uploadAudio.asset.url, type: 'audio/mpeg' }),
|
|
7529
7529
|
'Your browser does not support the audio element.'
|
|
7530
7530
|
),
|
|
7531
|
-
node.caption && React__default[
|
|
7531
|
+
node.caption && React__default['default'].createElement(
|
|
7532
7532
|
'p',
|
|
7533
7533
|
{ style: { fontSize: '.9rem' } },
|
|
7534
|
-
React__default[
|
|
7534
|
+
React__default['default'].createElement(
|
|
7535
7535
|
'em',
|
|
7536
7536
|
null,
|
|
7537
7537
|
node.caption
|
|
@@ -7541,15 +7541,15 @@ var Audio = function Audio(_ref) {
|
|
|
7541
7541
|
} else if (node.audioFilePth) {
|
|
7542
7542
|
var hostname = new URL(node.audioFilePth).hostname;
|
|
7543
7543
|
if (hostname === 'embeds.audioboom.com') {
|
|
7544
|
-
return React__default[
|
|
7544
|
+
return React__default['default'].createElement(
|
|
7545
7545
|
'div',
|
|
7546
7546
|
null,
|
|
7547
|
-
React__default[
|
|
7547
|
+
React__default['default'].createElement('iframe', { src: node.audioFilePth, width: '100%', height: '300', className: 'audio', style: { border: 'none' } }),
|
|
7548
7548
|
' ',
|
|
7549
|
-
node.caption && React__default[
|
|
7549
|
+
node.caption && React__default['default'].createElement(
|
|
7550
7550
|
'p',
|
|
7551
7551
|
{ style: { fontSize: '.9rem' } },
|
|
7552
|
-
React__default[
|
|
7552
|
+
React__default['default'].createElement(
|
|
7553
7553
|
'em',
|
|
7554
7554
|
null,
|
|
7555
7555
|
node.caption
|
|
@@ -7557,10 +7557,10 @@ var Audio = function Audio(_ref) {
|
|
|
7557
7557
|
)
|
|
7558
7558
|
);
|
|
7559
7559
|
}
|
|
7560
|
-
return React__default[
|
|
7560
|
+
return React__default['default'].createElement(
|
|
7561
7561
|
'div',
|
|
7562
7562
|
{ className: 'audio' },
|
|
7563
|
-
React__default[
|
|
7563
|
+
React__default['default'].createElement(ReactPlayer, { url: node.audioFilePth,
|
|
7564
7564
|
onPlay: reportPlay,
|
|
7565
7565
|
onPause: reportPause,
|
|
7566
7566
|
onEnded: reportEnd,
|
|
@@ -7568,10 +7568,10 @@ var Audio = function Audio(_ref) {
|
|
|
7568
7568
|
width: '100%',
|
|
7569
7569
|
height: '100%'
|
|
7570
7570
|
}),
|
|
7571
|
-
node.caption && React__default[
|
|
7571
|
+
node.caption && React__default['default'].createElement(
|
|
7572
7572
|
'p',
|
|
7573
7573
|
{ style: { fontSize: '.9rem' } },
|
|
7574
|
-
React__default[
|
|
7574
|
+
React__default['default'].createElement(
|
|
7575
7575
|
'em',
|
|
7576
7576
|
null,
|
|
7577
7577
|
node.caption
|
|
@@ -7590,34 +7590,34 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7590
7590
|
var showAuthorDetails = arguments[7];
|
|
7591
7591
|
|
|
7592
7592
|
if (authorName && authorURL) {
|
|
7593
|
-
return React__default[
|
|
7593
|
+
return React__default['default'].createElement(
|
|
7594
7594
|
'span',
|
|
7595
7595
|
null,
|
|
7596
|
-
React__default[
|
|
7596
|
+
React__default['default'].createElement(
|
|
7597
7597
|
'a',
|
|
7598
7598
|
{ className: 'author-details-link-' + index, rel: 'author', href: '/' + defaultUrl + '/' + authorURL.current, key: index },
|
|
7599
7599
|
authorName
|
|
7600
7600
|
),
|
|
7601
|
-
showAuthorDetails && React__default[
|
|
7601
|
+
showAuthorDetails && React__default['default'].createElement(
|
|
7602
7602
|
reactBootstrap.Card,
|
|
7603
7603
|
{ className: 'author-details-card-' + index },
|
|
7604
|
-
React__default[
|
|
7604
|
+
React__default['default'].createElement(
|
|
7605
7605
|
reactBootstrap.Row,
|
|
7606
7606
|
null,
|
|
7607
|
-
profileImage && React__default[
|
|
7607
|
+
profileImage && React__default['default'].createElement(
|
|
7608
7608
|
reactBootstrap.Col,
|
|
7609
7609
|
{ sm: 12, md: 4, className: 'author-details-img-container' },
|
|
7610
|
-
React__default[
|
|
7610
|
+
React__default['default'].createElement(reactBootstrap.Card.Img, { className: 'author-details-img', src: profileImage, alt: authorName })
|
|
7611
7611
|
),
|
|
7612
|
-
React__default[
|
|
7612
|
+
React__default['default'].createElement(
|
|
7613
7613
|
reactBootstrap.Col,
|
|
7614
7614
|
{ className: 'author-details-col', sm: 12, md: profileImage ? 8 : 12 },
|
|
7615
|
-
React__default[
|
|
7615
|
+
React__default['default'].createElement(
|
|
7616
7616
|
'div',
|
|
7617
7617
|
{ style: { fontWidth: '500', fontSize: '1.15rem' } },
|
|
7618
7618
|
authorName
|
|
7619
7619
|
),
|
|
7620
|
-
React__default[
|
|
7620
|
+
React__default['default'].createElement(
|
|
7621
7621
|
'p',
|
|
7622
7622
|
null,
|
|
7623
7623
|
biography
|
|
@@ -7625,7 +7625,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7625
7625
|
)
|
|
7626
7626
|
)
|
|
7627
7627
|
),
|
|
7628
|
-
React__default[
|
|
7628
|
+
React__default['default'].createElement(
|
|
7629
7629
|
'style',
|
|
7630
7630
|
{ jsx: 'true' },
|
|
7631
7631
|
'\n .author-details-card-' + index + ' {\n display: none;\n position: absolute;\n width: 90%;\n max-width: 450px;\n z-index: 9999;\n }\n .author-details-card-' + index + ' h5 {\n font-weight: 500;\n }\n .author-details-link-' + index + ':hover + .author-details-card-' + index + ', .author-details-card-' + index + ':hover {\n display: block;\n box-shadow: 0px 0px 5px #aaa;\n padding: 15px;\n border-radius: 5px;\n }\n '
|
|
@@ -7633,7 +7633,7 @@ var renderAuthor = function renderAuthor(authorName, authorURL, index, length) {
|
|
|
7633
7633
|
length !== index + 1 && ', '
|
|
7634
7634
|
);
|
|
7635
7635
|
} else if (authorName) {
|
|
7636
|
-
return React__default[
|
|
7636
|
+
return React__default['default'].createElement(
|
|
7637
7637
|
'span',
|
|
7638
7638
|
{ key: index },
|
|
7639
7639
|
authorName,
|
|
@@ -7905,44 +7905,44 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7905
7905
|
}
|
|
7906
7906
|
};
|
|
7907
7907
|
|
|
7908
|
-
return React__default[
|
|
7908
|
+
return React__default['default'].createElement(
|
|
7909
7909
|
'div',
|
|
7910
7910
|
{ className: 'video-container', style: { marginBottom: '2rem' } },
|
|
7911
|
-
React__default[
|
|
7911
|
+
React__default['default'].createElement(
|
|
7912
7912
|
'div',
|
|
7913
7913
|
{ className: 'mt-2 mb-5' },
|
|
7914
|
-
series && React__default[
|
|
7914
|
+
series && React__default['default'].createElement(
|
|
7915
7915
|
'div',
|
|
7916
7916
|
{ style: { fontSize: '0.9rem' } },
|
|
7917
7917
|
article.title,
|
|
7918
7918
|
' - Episode ',
|
|
7919
7919
|
series
|
|
7920
7920
|
),
|
|
7921
|
-
Videos[series - 1] && React__default[
|
|
7921
|
+
Videos[series - 1] && React__default['default'].createElement(
|
|
7922
7922
|
'h1',
|
|
7923
7923
|
{ className: 'mb-3' },
|
|
7924
7924
|
Videos[series - 1].title
|
|
7925
7925
|
),
|
|
7926
|
-
React__default[
|
|
7926
|
+
React__default['default'].createElement(
|
|
7927
7927
|
'div',
|
|
7928
7928
|
null,
|
|
7929
7929
|
moment.moment(article.published).format('LL')
|
|
7930
7930
|
),
|
|
7931
|
-
React__default[
|
|
7931
|
+
React__default['default'].createElement(
|
|
7932
7932
|
'div',
|
|
7933
7933
|
{ className: 'mb-3' },
|
|
7934
7934
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
7935
|
-
return React__default[
|
|
7935
|
+
return React__default['default'].createElement(
|
|
7936
7936
|
'span',
|
|
7937
7937
|
{ key: index },
|
|
7938
7938
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, '', authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage, imageHeight: authorImgHeight }))
|
|
7939
7939
|
);
|
|
7940
7940
|
})
|
|
7941
7941
|
),
|
|
7942
|
-
React__default[
|
|
7942
|
+
React__default['default'].createElement(
|
|
7943
7943
|
'p',
|
|
7944
7944
|
null,
|
|
7945
|
-
React__default[
|
|
7945
|
+
React__default['default'].createElement(SocialShare, {
|
|
7946
7946
|
shareUrl: meta.shareUrl + '?seriesVid=' + series,
|
|
7947
7947
|
shareTitle: Videos[series - 1] && Videos[series - 1].title ? Videos[series - 1].title : meta.shareTitle,
|
|
7948
7948
|
shareVia: meta.shareVia,
|
|
@@ -7957,20 +7957,20 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7957
7957
|
hideFacebook: meta.hideFBShare
|
|
7958
7958
|
})
|
|
7959
7959
|
),
|
|
7960
|
-
Videos[series - 1] && Videos[series - 1].intro && React__default[
|
|
7960
|
+
Videos[series - 1] && Videos[series - 1].intro && React__default['default'].createElement(
|
|
7961
7961
|
'p',
|
|
7962
7962
|
{ className: 'mb-3' },
|
|
7963
|
-
React__default[
|
|
7963
|
+
React__default['default'].createElement(
|
|
7964
7964
|
'em',
|
|
7965
7965
|
null,
|
|
7966
7966
|
Videos[series - 1].intro
|
|
7967
7967
|
)
|
|
7968
7968
|
)
|
|
7969
7969
|
),
|
|
7970
|
-
React__default[
|
|
7970
|
+
React__default['default'].createElement(
|
|
7971
7971
|
'div',
|
|
7972
7972
|
{ id: 'fluid-video-container', className: 'video-block', style: { position: 'relative', overflow: 'hidden' } },
|
|
7973
|
-
vidUrl && vidType == 'youtube' && React__default[
|
|
7973
|
+
vidUrl && vidType == 'youtube' && React__default['default'].createElement(YouTube, {
|
|
7974
7974
|
className: 'fluid-iframe',
|
|
7975
7975
|
videoId: index$1.getYoutubeId(vidUrl),
|
|
7976
7976
|
opts: opts,
|
|
@@ -7981,10 +7981,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7981
7981
|
return handleOnEnd(e);
|
|
7982
7982
|
}
|
|
7983
7983
|
}),
|
|
7984
|
-
vidUrl && vidType == 'mp4' && React__default[
|
|
7985
|
-
vidUrl && vidType == 'brightcove' && React__default[
|
|
7986
|
-
React__default[
|
|
7987
|
-
series && React__default[
|
|
7984
|
+
vidUrl && vidType == 'mp4' && React__default['default'].createElement(VideoMp4, { url: vidUrl, thumbnail: vidThumbnail, vidLoaded: vidLoaded }),
|
|
7985
|
+
vidUrl && vidType == 'brightcove' && React__default['default'].createElement(Video, { autoplay: true, node: { videoID: vidUrl, source: 'brightcove' }, accountIDs: accountIDs, autoplayNextVideo: autoplayNextVideo }),
|
|
7986
|
+
React__default['default'].createElement('hr', { style: { marginTop: '1.5rem', borderTop: '2px solid rgba(0,0,0,.35)' } }),
|
|
7987
|
+
series && React__default['default'].createElement(
|
|
7988
7988
|
'div',
|
|
7989
7989
|
{
|
|
7990
7990
|
className: 'vid-series',
|
|
@@ -7994,10 +7994,10 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
7994
7994
|
maxHeight: '100%',
|
|
7995
7995
|
paddingBottom: '0'
|
|
7996
7996
|
} },
|
|
7997
|
-
React__default[
|
|
7997
|
+
React__default['default'].createElement(
|
|
7998
7998
|
'p',
|
|
7999
7999
|
{ style: { color: '#484848', marginBottom: '0' } },
|
|
8000
|
-
React__default[
|
|
8000
|
+
React__default['default'].createElement(
|
|
8001
8001
|
'b',
|
|
8002
8002
|
{ style: { fontSize: '1.25em' } },
|
|
8003
8003
|
'Now Playing:'
|
|
@@ -8005,16 +8005,16 @@ var YouTubeGallery = function YouTubeGallery(_ref) {
|
|
|
8005
8005
|
' ',
|
|
8006
8006
|
seriesData[series ? series - 1 : 0].title
|
|
8007
8007
|
),
|
|
8008
|
-
vidUrl && React__default[
|
|
8008
|
+
vidUrl && React__default['default'].createElement(GroupDeck, { dataset: seriesData, setState: setState, seriesVid: series, current: vidUrl, client: client, displayEpisodeNumber: true })
|
|
8009
8009
|
)
|
|
8010
8010
|
),
|
|
8011
|
-
React__default[
|
|
8012
|
-
React__default[
|
|
8011
|
+
React__default['default'].createElement('div', { className: 'vid-controls', style: { width: '100%', background: 'transparent', display: 'flex', justifyContent: 'center' } }),
|
|
8012
|
+
React__default['default'].createElement(
|
|
8013
8013
|
'div',
|
|
8014
8014
|
{ className: 'vid-text' },
|
|
8015
|
-
Videos[series - 1] && Videos[series - 1].text && React__default[
|
|
8015
|
+
Videos[series - 1] && Videos[series - 1].text && React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: Videos[series - 1].text, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
8016
8016
|
),
|
|
8017
|
-
React__default[
|
|
8017
|
+
React__default['default'].createElement(
|
|
8018
8018
|
'style',
|
|
8019
8019
|
{ jsx: 'true' },
|
|
8020
8020
|
'\n span.btn {\n margin: 0 1rem;\n }\n '
|
|
@@ -8067,67 +8067,67 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8067
8067
|
return acc;
|
|
8068
8068
|
}
|
|
8069
8069
|
}, 0);
|
|
8070
|
-
return React__default[
|
|
8071
|
-
React__default[
|
|
8070
|
+
return React__default['default'].createElement(
|
|
8071
|
+
React__default['default'].Fragment,
|
|
8072
8072
|
null,
|
|
8073
|
-
question && React__default[
|
|
8073
|
+
question && React__default['default'].createElement(
|
|
8074
8074
|
'p',
|
|
8075
8075
|
{ className: 'font-weight-bold' },
|
|
8076
8076
|
question
|
|
8077
8077
|
),
|
|
8078
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8078
|
+
!showAnswer && choices && choices.length > 0 && React__default['default'].createElement(
|
|
8079
8079
|
'form',
|
|
8080
8080
|
{ onSubmit: function onSubmit(e) {
|
|
8081
8081
|
return onSubmitPoll(e);
|
|
8082
8082
|
} },
|
|
8083
8083
|
choices && choices.map(function (choice) {
|
|
8084
|
-
return React__default[
|
|
8084
|
+
return React__default['default'].createElement(
|
|
8085
8085
|
'div',
|
|
8086
8086
|
{ key: choice._key },
|
|
8087
|
-
React__default[
|
|
8087
|
+
React__default['default'].createElement(
|
|
8088
8088
|
'label',
|
|
8089
8089
|
{ className: 'pl-2' },
|
|
8090
|
-
React__default[
|
|
8090
|
+
React__default['default'].createElement('input', { type: 'radio', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8091
8091
|
return setSelectedChoice(e.target.value);
|
|
8092
8092
|
} }),
|
|
8093
8093
|
' ' + choice.choiceText
|
|
8094
8094
|
)
|
|
8095
8095
|
);
|
|
8096
8096
|
}),
|
|
8097
|
-
React__default[
|
|
8097
|
+
React__default['default'].createElement(
|
|
8098
8098
|
reactBootstrap.Button,
|
|
8099
8099
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8100
8100
|
'Vote'
|
|
8101
8101
|
)
|
|
8102
8102
|
),
|
|
8103
|
-
React__default[
|
|
8103
|
+
React__default['default'].createElement(
|
|
8104
8104
|
'div',
|
|
8105
8105
|
{ className: 'progress-container' },
|
|
8106
8106
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8107
8107
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8108
|
-
return React__default[
|
|
8108
|
+
return React__default['default'].createElement(
|
|
8109
8109
|
'div',
|
|
8110
8110
|
{ key: choice._key, className: 'mb-3' },
|
|
8111
|
-
React__default[
|
|
8111
|
+
React__default['default'].createElement(
|
|
8112
8112
|
'div',
|
|
8113
8113
|
{ className: 'correct-answer' },
|
|
8114
|
-
React__default[
|
|
8114
|
+
React__default['default'].createElement(
|
|
8115
8115
|
'div',
|
|
8116
8116
|
null,
|
|
8117
8117
|
choice.choiceText
|
|
8118
8118
|
),
|
|
8119
|
-
choice.choiceAnswer === true && React__default[
|
|
8119
|
+
choice.choiceAnswer === true && React__default['default'].createElement(
|
|
8120
8120
|
'div',
|
|
8121
8121
|
null,
|
|
8122
|
-
React__default[
|
|
8122
|
+
React__default['default'].createElement(
|
|
8123
8123
|
'span',
|
|
8124
8124
|
{ style: { color: 'limegreen' } },
|
|
8125
8125
|
'Correct!'
|
|
8126
8126
|
)
|
|
8127
8127
|
)
|
|
8128
8128
|
),
|
|
8129
|
-
React__default[
|
|
8130
|
-
React__default[
|
|
8129
|
+
React__default['default'].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8130
|
+
React__default['default'].createElement(
|
|
8131
8131
|
'span',
|
|
8132
8132
|
{ className: 'float-right' },
|
|
8133
8133
|
percentage,
|
|
@@ -8138,14 +8138,14 @@ var Poll$1 = function Poll(_ref) {
|
|
|
8138
8138
|
);
|
|
8139
8139
|
})
|
|
8140
8140
|
),
|
|
8141
|
-
showAnswer && React__default[
|
|
8141
|
+
showAnswer && React__default['default'].createElement(
|
|
8142
8142
|
'h4',
|
|
8143
8143
|
{ className: 'text-center small p-3' },
|
|
8144
8144
|
'Total Votes: ',
|
|
8145
8145
|
choicesTotalCount
|
|
8146
8146
|
),
|
|
8147
|
-
showAnswer && response && React__default[
|
|
8148
|
-
React__default[
|
|
8147
|
+
showAnswer && response && React__default['default'].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8148
|
+
React__default['default'].createElement(
|
|
8149
8149
|
'style',
|
|
8150
8150
|
{ jsx: 'true' },
|
|
8151
8151
|
'\n .correct-answer {\n display: flex;\n justify-content: space-between;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8244,67 +8244,67 @@ var Poll = function Poll(_ref) {
|
|
|
8244
8244
|
return acc;
|
|
8245
8245
|
}
|
|
8246
8246
|
}, 0);
|
|
8247
|
-
return React__default[
|
|
8248
|
-
React__default[
|
|
8247
|
+
return React__default['default'].createElement(
|
|
8248
|
+
React__default['default'].Fragment,
|
|
8249
8249
|
null,
|
|
8250
|
-
question && React__default[
|
|
8250
|
+
question && React__default['default'].createElement(
|
|
8251
8251
|
'p',
|
|
8252
8252
|
{ className: 'font-weight-bold' },
|
|
8253
8253
|
question
|
|
8254
8254
|
),
|
|
8255
|
-
!showAnswer && choices && choices.length > 0 && React__default[
|
|
8255
|
+
!showAnswer && choices && choices.length > 0 && React__default['default'].createElement(
|
|
8256
8256
|
'form',
|
|
8257
8257
|
{ onSubmit: function onSubmit(e) {
|
|
8258
8258
|
return onSubmitPoll(e);
|
|
8259
8259
|
} },
|
|
8260
8260
|
choices && choices.map(function (choice) {
|
|
8261
|
-
return React__default[
|
|
8261
|
+
return React__default['default'].createElement(
|
|
8262
8262
|
'div',
|
|
8263
8263
|
{ key: choice._key },
|
|
8264
|
-
React__default[
|
|
8264
|
+
React__default['default'].createElement(
|
|
8265
8265
|
'label',
|
|
8266
8266
|
{ className: 'pl-2' },
|
|
8267
|
-
React__default[
|
|
8267
|
+
React__default['default'].createElement('input', { type: 'checkbox', id: 'male', name: choice._type, value: choice._key, onChange: function onChange(e) {
|
|
8268
8268
|
return setSelectedChoice(e.target.value);
|
|
8269
8269
|
} }),
|
|
8270
8270
|
' ' + choice.choiceText
|
|
8271
8271
|
)
|
|
8272
8272
|
);
|
|
8273
8273
|
}),
|
|
8274
|
-
React__default[
|
|
8274
|
+
React__default['default'].createElement(
|
|
8275
8275
|
reactBootstrap.Button,
|
|
8276
8276
|
{ disabled: !selectedChoice, type: 'submit' },
|
|
8277
8277
|
'Vote'
|
|
8278
8278
|
)
|
|
8279
8279
|
),
|
|
8280
|
-
React__default[
|
|
8280
|
+
React__default['default'].createElement(
|
|
8281
8281
|
'div',
|
|
8282
8282
|
{ className: 'progress-container' },
|
|
8283
8283
|
showAnswer && choices && choices.length > 0 && choices.map(function (choice) {
|
|
8284
8284
|
var percentage = choicesTotalCount && choicesTotalCount > 0 ? choice.choiceCount ? Math.floor(choice.choiceCount * 100 / choicesTotalCount) : 0 : 0;
|
|
8285
|
-
return React__default[
|
|
8285
|
+
return React__default['default'].createElement(
|
|
8286
8286
|
'div',
|
|
8287
8287
|
{ key: choice._key, className: 'mb-3' },
|
|
8288
|
-
React__default[
|
|
8288
|
+
React__default['default'].createElement(
|
|
8289
8289
|
'div',
|
|
8290
8290
|
{ className: 'correct-answer' },
|
|
8291
|
-
React__default[
|
|
8291
|
+
React__default['default'].createElement(
|
|
8292
8292
|
'div',
|
|
8293
8293
|
null,
|
|
8294
8294
|
choice.choiceText
|
|
8295
8295
|
),
|
|
8296
|
-
choice.choiceAnswer === true && React__default[
|
|
8296
|
+
choice.choiceAnswer === true && React__default['default'].createElement(
|
|
8297
8297
|
'div',
|
|
8298
8298
|
null,
|
|
8299
|
-
React__default[
|
|
8299
|
+
React__default['default'].createElement(
|
|
8300
8300
|
'span',
|
|
8301
8301
|
{ style: { color: 'limegreen' } },
|
|
8302
8302
|
'Correct!'
|
|
8303
8303
|
)
|
|
8304
8304
|
)
|
|
8305
8305
|
),
|
|
8306
|
-
React__default[
|
|
8307
|
-
React__default[
|
|
8306
|
+
React__default['default'].createElement(reactBootstrap.ProgressBar, { now: percentage }),
|
|
8307
|
+
React__default['default'].createElement(
|
|
8308
8308
|
'span',
|
|
8309
8309
|
{ className: 'float-right' },
|
|
8310
8310
|
percentage,
|
|
@@ -8315,14 +8315,14 @@ var Poll = function Poll(_ref) {
|
|
|
8315
8315
|
);
|
|
8316
8316
|
})
|
|
8317
8317
|
),
|
|
8318
|
-
showAnswer && React__default[
|
|
8318
|
+
showAnswer && React__default['default'].createElement(
|
|
8319
8319
|
'h4',
|
|
8320
8320
|
{ className: 'text-center small p-3' },
|
|
8321
8321
|
'Total Votes: ',
|
|
8322
8322
|
choicesTotalCount
|
|
8323
8323
|
),
|
|
8324
|
-
showAnswer && response && React__default[
|
|
8325
|
-
React__default[
|
|
8324
|
+
showAnswer && response && React__default['default'].createElement(BlockContent.BlockContent, { blocks: response, serializers: getSerializers }),
|
|
8325
|
+
React__default['default'].createElement(
|
|
8326
8326
|
'style',
|
|
8327
8327
|
{ jsx: 'true' },
|
|
8328
8328
|
'\n .correct-answer {\n width: 100%;\n display: flex;\n justify-content: space-between;\n padding: 0 0.5rem;\n }\n .progress-bar {\n color: #fff;\n }\n '
|
|
@@ -8464,34 +8464,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8464
8464
|
};
|
|
8465
8465
|
|
|
8466
8466
|
var renderPagination = function renderPagination() {
|
|
8467
|
-
return React__default[
|
|
8468
|
-
Pagination__default[
|
|
8467
|
+
return React__default['default'].createElement(
|
|
8468
|
+
Pagination__default['default'],
|
|
8469
8469
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8470
|
-
React__default[
|
|
8470
|
+
React__default['default'].createElement(Pagination__default['default'].First, { onClick: function onClick() {
|
|
8471
8471
|
return changePage('first');
|
|
8472
8472
|
}, disabled: currentPage === 1 }),
|
|
8473
|
-
React__default[
|
|
8473
|
+
React__default['default'].createElement(Pagination__default['default'].Prev, { onClick: function onClick() {
|
|
8474
8474
|
return changePage('prev');
|
|
8475
8475
|
}, disabled: currentPage === 1 }),
|
|
8476
|
-
React__default[
|
|
8476
|
+
React__default['default'].createElement(Pagination__default['default'].Ellipsis, { onClick: function onClick() {
|
|
8477
8477
|
return renderNewPages('prev');
|
|
8478
8478
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8479
8479
|
pages.map(function (page) {
|
|
8480
|
-
return React__default[
|
|
8481
|
-
Pagination__default[
|
|
8480
|
+
return React__default['default'].createElement(
|
|
8481
|
+
Pagination__default['default'].Item,
|
|
8482
8482
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8483
8483
|
return changePage(page);
|
|
8484
8484
|
} },
|
|
8485
8485
|
page
|
|
8486
8486
|
);
|
|
8487
8487
|
}),
|
|
8488
|
-
React__default[
|
|
8488
|
+
React__default['default'].createElement(Pagination__default['default'].Ellipsis, { onClick: function onClick() {
|
|
8489
8489
|
return renderNewPages('next');
|
|
8490
8490
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8491
|
-
React__default[
|
|
8491
|
+
React__default['default'].createElement(Pagination__default['default'].Next, { onClick: function onClick() {
|
|
8492
8492
|
return changePage('next');
|
|
8493
8493
|
}, disabled: currentPage === pageCount }),
|
|
8494
|
-
React__default[
|
|
8494
|
+
React__default['default'].createElement(Pagination__default['default'].Last, { onClick: function onClick() {
|
|
8495
8495
|
return changePage('last');
|
|
8496
8496
|
}, disabled: currentPage === pageCount })
|
|
8497
8497
|
);
|
|
@@ -8602,49 +8602,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8602
8602
|
}
|
|
8603
8603
|
};
|
|
8604
8604
|
|
|
8605
|
-
return React__default[
|
|
8606
|
-
React__default[
|
|
8605
|
+
return React__default['default'].createElement(
|
|
8606
|
+
React__default['default'].Fragment,
|
|
8607
8607
|
null,
|
|
8608
|
-
quizzes[currentPage - 1] && React__default[
|
|
8609
|
-
React__default[
|
|
8608
|
+
quizzes[currentPage - 1] && React__default['default'].createElement(
|
|
8609
|
+
React__default['default'].Fragment,
|
|
8610
8610
|
null,
|
|
8611
|
-
React__default[
|
|
8612
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default[
|
|
8611
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8612
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default['default'].createElement(
|
|
8613
8613
|
'form',
|
|
8614
8614
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8615
8615
|
return e.preventDefault();
|
|
8616
8616
|
} },
|
|
8617
8617
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8618
|
-
return React__default[
|
|
8618
|
+
return React__default['default'].createElement(
|
|
8619
8619
|
'div',
|
|
8620
8620
|
{ key: answer._key },
|
|
8621
|
-
React__default[
|
|
8621
|
+
React__default['default'].createElement(
|
|
8622
8622
|
'label',
|
|
8623
8623
|
{ className: 'pl-2' },
|
|
8624
|
-
quizzes[currentPage - 1].multiAnswer ? React__default[
|
|
8624
|
+
quizzes[currentPage - 1].multiAnswer ? React__default['default'].createElement('input', { type: 'checkbox', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }) : React__default['default'].createElement('input', { type: 'radio', id: 'male', disabled: showAnswer, name: answer._type, value: answer._key }),
|
|
8625
8625
|
' ' + answer.answerText
|
|
8626
8626
|
)
|
|
8627
8627
|
);
|
|
8628
8628
|
})
|
|
8629
8629
|
)
|
|
8630
8630
|
),
|
|
8631
|
-
!showAnswer && React__default[
|
|
8632
|
-
Button__default[
|
|
8631
|
+
!showAnswer && React__default['default'].createElement(
|
|
8632
|
+
Button__default['default'],
|
|
8633
8633
|
{ onClick: function onClick(e) {
|
|
8634
8634
|
return checkAnswers(e);
|
|
8635
8635
|
}, variant: 'info', block: true },
|
|
8636
8636
|
'Please click here for answer'
|
|
8637
8637
|
),
|
|
8638
|
-
quizzes[currentPage - 1] && showAnswer && React__default[
|
|
8639
|
-
React__default[
|
|
8638
|
+
quizzes[currentPage - 1] && showAnswer && React__default['default'].createElement(
|
|
8639
|
+
React__default['default'].Fragment,
|
|
8640
8640
|
null,
|
|
8641
|
-
quizzes[currentPage - 1].answer && React__default[
|
|
8641
|
+
quizzes[currentPage - 1].answer && React__default['default'].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8642
8642
|
),
|
|
8643
|
-
React__default[
|
|
8644
|
-
firstRender && React__default[
|
|
8645
|
-
React__default[
|
|
8643
|
+
React__default['default'].createElement('br', null),
|
|
8644
|
+
firstRender && React__default['default'].createElement(
|
|
8645
|
+
React__default['default'].Fragment,
|
|
8646
8646
|
null,
|
|
8647
|
-
pageCount > 1 && currentPage && React__default[
|
|
8647
|
+
pageCount > 1 && currentPage && React__default['default'].createElement(
|
|
8648
8648
|
'div',
|
|
8649
8649
|
{ className: 'd-flex justify-content-center' },
|
|
8650
8650
|
renderPagination()
|
|
@@ -8656,15 +8656,15 @@ var Quiz = function Quiz(_ref) {
|
|
|
8656
8656
|
var Leads = function Leads(_ref) {
|
|
8657
8657
|
var url = _ref.url;
|
|
8658
8658
|
|
|
8659
|
-
return React__default[
|
|
8659
|
+
return React__default['default'].createElement(
|
|
8660
8660
|
'div',
|
|
8661
8661
|
{ className: 'd-block text-center mb-3' },
|
|
8662
|
-
React__default[
|
|
8662
|
+
React__default['default'].createElement(
|
|
8663
8663
|
'style',
|
|
8664
8664
|
{ jsx: 'true' },
|
|
8665
8665
|
'\n @media screen and (max-width: 1190px) {\n .leads-block {\n min-height: 2000px;\n }\n }\n @media screen and (min-width: 1191px) {\n .leads-block {\n min-height: 1500px;\n }\n }\n '
|
|
8666
8666
|
),
|
|
8667
|
-
url && React__default[
|
|
8667
|
+
url && React__default['default'].createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8668
8668
|
);
|
|
8669
8669
|
};
|
|
8670
8670
|
|
|
@@ -8706,49 +8706,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8706
8706
|
if (pageview) pageview(href);
|
|
8707
8707
|
};
|
|
8708
8708
|
|
|
8709
|
-
return React__default[
|
|
8709
|
+
return React__default['default'].createElement(
|
|
8710
8710
|
'div',
|
|
8711
8711
|
{ className: 'mt-3 mb-4' },
|
|
8712
|
-
React__default[
|
|
8712
|
+
React__default['default'].createElement(
|
|
8713
8713
|
reactBootstrap.Carousel,
|
|
8714
8714
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8715
8715
|
slides && slides.map(function (slide) {
|
|
8716
8716
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8717
|
-
return React__default[
|
|
8717
|
+
return React__default['default'].createElement(
|
|
8718
8718
|
reactBootstrap.Carousel.Item,
|
|
8719
8719
|
{ key: slide._key },
|
|
8720
|
-
React__default[
|
|
8720
|
+
React__default['default'].createElement(
|
|
8721
8721
|
'a',
|
|
8722
8722
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8723
|
-
React__default[
|
|
8723
|
+
React__default['default'].createElement(
|
|
8724
8724
|
'div',
|
|
8725
8725
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8726
|
-
React__default[
|
|
8726
|
+
React__default['default'].createElement(
|
|
8727
8727
|
'picture',
|
|
8728
8728
|
null,
|
|
8729
|
-
React__default[
|
|
8730
|
-
React__default[
|
|
8731
|
-
React__default[
|
|
8732
|
-
React__default[
|
|
8729
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8730
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8731
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8732
|
+
React__default['default'].createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8733
8733
|
)
|
|
8734
8734
|
)
|
|
8735
8735
|
),
|
|
8736
|
-
React__default[
|
|
8736
|
+
React__default['default'].createElement(
|
|
8737
8737
|
'div',
|
|
8738
8738
|
{ className: 'p-2' },
|
|
8739
|
-
slide.slideshowImage.caption && React__default[
|
|
8739
|
+
slide.slideshowImage.caption && React__default['default'].createElement(
|
|
8740
8740
|
'h3',
|
|
8741
8741
|
{ style: { padding: '0px' } },
|
|
8742
8742
|
slide.slideshowImage.caption
|
|
8743
8743
|
),
|
|
8744
|
-
slide.description && React__default[
|
|
8744
|
+
slide.description && React__default['default'].createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8745
8745
|
)
|
|
8746
8746
|
);
|
|
8747
8747
|
}
|
|
8748
8748
|
return null;
|
|
8749
8749
|
})
|
|
8750
8750
|
),
|
|
8751
|
-
React__default[
|
|
8751
|
+
React__default['default'].createElement(
|
|
8752
8752
|
'style',
|
|
8753
8753
|
{ jsx: 'true' },
|
|
8754
8754
|
'\n .embed-item-img {\n max-width: 100%;\n max-height: 750px;\n }\n .carousel-indicators {\n bottom: -2.5rem !important;\n }\n .carousel-indicators li {\n width: 20px;\n height: 20px;\n border-radius: 50% !important;\n background-color: var(--secondary);\n }\n .carousel-control-prev {\n justify-content: flex-start;\n }\n .carousel-control-next {\n justify-content: flex-end;\n }\n '
|
|
@@ -8767,10 +8767,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8767
8767
|
sizes = _props$node.sizes,
|
|
8768
8768
|
sizeMapping = _props$node.sizeMapping;
|
|
8769
8769
|
|
|
8770
|
-
return React__default[
|
|
8770
|
+
return React__default['default'].createElement(
|
|
8771
8771
|
'div',
|
|
8772
8772
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8773
|
-
React__default[
|
|
8773
|
+
React__default['default'].createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8774
8774
|
);
|
|
8775
8775
|
};
|
|
8776
8776
|
|
|
@@ -8781,15 +8781,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8781
8781
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8782
8782
|
|
|
8783
8783
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8784
|
-
return React__default[
|
|
8784
|
+
return React__default['default'].createElement(
|
|
8785
8785
|
'section',
|
|
8786
8786
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8787
|
-
Caption && React__default[
|
|
8787
|
+
Caption && React__default['default'].createElement(
|
|
8788
8788
|
'h4',
|
|
8789
8789
|
{ className: 'formstack-caption' },
|
|
8790
8790
|
Caption
|
|
8791
8791
|
),
|
|
8792
|
-
React__default[
|
|
8792
|
+
React__default['default'].createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8793
8793
|
);
|
|
8794
8794
|
};
|
|
8795
8795
|
|
|
@@ -8805,36 +8805,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8805
8805
|
}
|
|
8806
8806
|
});
|
|
8807
8807
|
if (medias && medias.length > 0) {
|
|
8808
|
-
return React__default[
|
|
8808
|
+
return React__default['default'].createElement(
|
|
8809
8809
|
'div',
|
|
8810
8810
|
{ className: 'multi-media-container' },
|
|
8811
|
-
React__default[
|
|
8812
|
-
Row__default[
|
|
8811
|
+
React__default['default'].createElement(
|
|
8812
|
+
Row__default['default'],
|
|
8813
8813
|
{ noGutters: true },
|
|
8814
8814
|
medias.map(function (media) {
|
|
8815
|
-
return React__default[
|
|
8816
|
-
Col__default[
|
|
8815
|
+
return React__default['default'].createElement(
|
|
8816
|
+
Col__default['default'],
|
|
8817
8817
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8818
|
-
React__default[
|
|
8818
|
+
React__default['default'].createElement(
|
|
8819
8819
|
'a',
|
|
8820
8820
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile.urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8821
8821
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8822
|
-
React__default[
|
|
8822
|
+
React__default['default'].createElement(
|
|
8823
8823
|
'div',
|
|
8824
8824
|
{ className: 'multi-media-image-container' },
|
|
8825
|
-
imageBox && React__default[
|
|
8825
|
+
imageBox && React__default['default'].createElement(
|
|
8826
8826
|
index$2.LazyLoad,
|
|
8827
8827
|
{ once: true },
|
|
8828
|
-
React__default[
|
|
8828
|
+
React__default['default'].createElement(
|
|
8829
8829
|
'picture',
|
|
8830
8830
|
null,
|
|
8831
|
-
React__default[
|
|
8832
|
-
React__default[
|
|
8833
|
-
React__default[
|
|
8834
|
-
React__default[
|
|
8831
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8832
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8833
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8834
|
+
React__default['default'].createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8835
8835
|
)
|
|
8836
8836
|
),
|
|
8837
|
-
media.caption && React__default[
|
|
8837
|
+
media.caption && React__default['default'].createElement(
|
|
8838
8838
|
'span',
|
|
8839
8839
|
{ className: 'multi-media-caption' },
|
|
8840
8840
|
media.caption
|
|
@@ -8844,7 +8844,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8844
8844
|
);
|
|
8845
8845
|
})
|
|
8846
8846
|
),
|
|
8847
|
-
React__default[
|
|
8847
|
+
React__default['default'].createElement(
|
|
8848
8848
|
'style',
|
|
8849
8849
|
{ jsx: 'true' },
|
|
8850
8850
|
'\n .multi-media-container {\n margin-bottom: 1rem;\n }\n .multi-media-image {\n width: 100%;\n height: auto;\n object-fit: cover;\n }\n\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-media-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-media-image[images-count=\'4\'] {\n height: 100px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 130px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 200px;\n }\n .multi-media-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-media-image[images-count=\'4\'] {\n height: 150px;\n }\n .multi-media-image[images-count=\'3\'] {\n height: 200px;\n }\n .multi-media-image[images-count=\'2\'] {\n height: 300px;\n }\n }\n\n .multi-media-caption {\n font-size: 90%;\n color: #6c757d;\n }\n '
|
|
@@ -8891,7 +8891,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8891
8891
|
}
|
|
8892
8892
|
};
|
|
8893
8893
|
|
|
8894
|
-
_this.wraperRef = React__default[
|
|
8894
|
+
_this.wraperRef = React__default['default'].createRef();
|
|
8895
8895
|
_this.visible = false;
|
|
8896
8896
|
return _this;
|
|
8897
8897
|
}
|
|
@@ -8919,7 +8919,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8919
8919
|
_props$id = _props.id,
|
|
8920
8920
|
id = _props$id === undefined ? '' : _props$id;
|
|
8921
8921
|
|
|
8922
|
-
return React__default[
|
|
8922
|
+
return React__default['default'].createElement(
|
|
8923
8923
|
'div',
|
|
8924
8924
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8925
8925
|
this.props.children
|
|
@@ -8928,7 +8928,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8928
8928
|
}]);
|
|
8929
8929
|
|
|
8930
8930
|
return InscreenSensor;
|
|
8931
|
-
}(React__default[
|
|
8931
|
+
}(React__default['default'].Component);
|
|
8932
8932
|
|
|
8933
8933
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8934
8934
|
var nodes = _ref.nodes,
|
|
@@ -9039,33 +9039,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9039
9039
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9040
9040
|
var showReading = show ? 'showReading' : '';
|
|
9041
9041
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9042
|
-
return React__default[
|
|
9042
|
+
return React__default['default'].createElement(
|
|
9043
9043
|
'div',
|
|
9044
9044
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9045
|
-
React__default[
|
|
9045
|
+
React__default['default'].createElement(
|
|
9046
9046
|
'a',
|
|
9047
9047
|
{ onClick: function onClick(e) {
|
|
9048
9048
|
return articleCardClickHandler(e);
|
|
9049
9049
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9050
|
-
React__default[
|
|
9050
|
+
React__default['default'].createElement(
|
|
9051
9051
|
'div',
|
|
9052
9052
|
{ className: 'prevNext-thumbnail' },
|
|
9053
|
-
React__default[
|
|
9054
|
-
React__default[
|
|
9053
|
+
React__default['default'].createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9054
|
+
React__default['default'].createElement(
|
|
9055
9055
|
'div',
|
|
9056
9056
|
{ className: 'prevNext-reading ' + showReading },
|
|
9057
9057
|
articleLabel
|
|
9058
9058
|
)
|
|
9059
9059
|
),
|
|
9060
|
-
React__default[
|
|
9060
|
+
React__default['default'].createElement(
|
|
9061
9061
|
'div',
|
|
9062
9062
|
{ className: 'prevNext-summary' },
|
|
9063
|
-
React__default[
|
|
9063
|
+
React__default['default'].createElement(
|
|
9064
9064
|
'div',
|
|
9065
9065
|
{ className: 'prevNext-publishDate' },
|
|
9066
9066
|
moment.moment(article.published).format('LL')
|
|
9067
9067
|
),
|
|
9068
|
-
React__default[
|
|
9068
|
+
React__default['default'].createElement(
|
|
9069
9069
|
'h2',
|
|
9070
9070
|
{ className: 'prevNext-title' },
|
|
9071
9071
|
article.title
|
|
@@ -9114,7 +9114,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9114
9114
|
|
|
9115
9115
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9116
9116
|
if (biography) {
|
|
9117
|
-
return React__default[
|
|
9117
|
+
return React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9118
9118
|
}
|
|
9119
9119
|
};
|
|
9120
9120
|
|
|
@@ -9272,40 +9272,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9272
9272
|
setSensorVisible(false);
|
|
9273
9273
|
};
|
|
9274
9274
|
|
|
9275
|
-
return React__default[
|
|
9276
|
-
React__default[
|
|
9275
|
+
return React__default['default'].createElement(
|
|
9276
|
+
React__default['default'].Fragment,
|
|
9277
9277
|
null,
|
|
9278
|
-
React__default[
|
|
9278
|
+
React__default['default'].createElement(
|
|
9279
9279
|
'div',
|
|
9280
9280
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9281
|
-
React__default[
|
|
9281
|
+
React__default['default'].createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9282
9282
|
return handleArrowClick();
|
|
9283
9283
|
} })
|
|
9284
9284
|
),
|
|
9285
|
-
React__default[
|
|
9286
|
-
React__default[
|
|
9285
|
+
React__default['default'].createElement('hr', { className: 'article-seperater my-4' }),
|
|
9286
|
+
React__default['default'].createElement(
|
|
9287
9287
|
'div',
|
|
9288
9288
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9289
|
-
React__default[
|
|
9289
|
+
React__default['default'].createElement(
|
|
9290
9290
|
'h5',
|
|
9291
9291
|
{ className: 'objective-title' },
|
|
9292
9292
|
nodes.seriesTitle
|
|
9293
9293
|
),
|
|
9294
|
-
React__default[
|
|
9294
|
+
React__default['default'].createElement(
|
|
9295
9295
|
'div',
|
|
9296
9296
|
{ className: 'prevNextWrapper' },
|
|
9297
9297
|
PrevNextCards(false, -1)
|
|
9298
9298
|
)
|
|
9299
9299
|
),
|
|
9300
|
-
React__default[
|
|
9301
|
-
React__default[
|
|
9300
|
+
React__default['default'].createElement('hr', { className: 'article-seperater' }),
|
|
9301
|
+
React__default['default'].createElement(
|
|
9302
9302
|
'div',
|
|
9303
9303
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9304
9304
|
Articles.map(function (article, index) {
|
|
9305
|
-
return React__default[
|
|
9305
|
+
return React__default['default'].createElement(
|
|
9306
9306
|
'div',
|
|
9307
9307
|
{ key: article.title },
|
|
9308
|
-
React__default[
|
|
9308
|
+
React__default['default'].createElement(
|
|
9309
9309
|
InscreenSensor,
|
|
9310
9310
|
{
|
|
9311
9311
|
visible: sensorVisible,
|
|
@@ -9323,82 +9323,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9323
9323
|
}
|
|
9324
9324
|
}
|
|
9325
9325
|
} },
|
|
9326
|
-
React__default[
|
|
9327
|
-
Head__default[
|
|
9326
|
+
React__default['default'].createElement(
|
|
9327
|
+
Head__default['default'],
|
|
9328
9328
|
null,
|
|
9329
|
-
currentTitle !== null && React__default[
|
|
9329
|
+
currentTitle !== null && React__default['default'].createElement(
|
|
9330
9330
|
'title',
|
|
9331
9331
|
{ key: 'title' },
|
|
9332
9332
|
currentTitle
|
|
9333
9333
|
),
|
|
9334
|
-
currentSummary !== null && React__default[
|
|
9335
|
-
currentURL !== null && React__default[
|
|
9336
|
-
currentTitle !== null && React__default[
|
|
9337
|
-
currentThumbnail !== null && React__default[
|
|
9338
|
-
currentSummary !== null && React__default[
|
|
9339
|
-
currentTitle !== null && React__default[
|
|
9340
|
-
currentThumbnail !== null && React__default[
|
|
9341
|
-
currentSummary !== null && React__default[
|
|
9334
|
+
currentSummary !== null && React__default['default'].createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9335
|
+
currentURL !== null && React__default['default'].createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9336
|
+
currentTitle !== null && React__default['default'].createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9337
|
+
currentThumbnail !== null && React__default['default'].createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9338
|
+
currentSummary !== null && React__default['default'].createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9339
|
+
currentTitle !== null && React__default['default'].createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9340
|
+
currentThumbnail !== null && React__default['default'].createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9341
|
+
currentSummary !== null && React__default['default'].createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9342
9342
|
),
|
|
9343
|
-
React__default[
|
|
9343
|
+
React__default['default'].createElement(
|
|
9344
9344
|
'article',
|
|
9345
9345
|
{ className: 'article-wrapper' },
|
|
9346
|
-
React__default[
|
|
9346
|
+
React__default['default'].createElement(
|
|
9347
9347
|
'div',
|
|
9348
9348
|
{ className: 'article-publishDate' },
|
|
9349
9349
|
moment.moment(article.published).format('LL')
|
|
9350
9350
|
),
|
|
9351
|
-
React__default[
|
|
9351
|
+
React__default['default'].createElement(
|
|
9352
9352
|
'div',
|
|
9353
9353
|
{ className: 'author-details-wrapper' },
|
|
9354
9354
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9355
|
-
return React__default[
|
|
9355
|
+
return React__default['default'].createElement(
|
|
9356
9356
|
'span',
|
|
9357
9357
|
{ key: index },
|
|
9358
9358
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9359
9359
|
);
|
|
9360
9360
|
})
|
|
9361
9361
|
),
|
|
9362
|
-
React__default[
|
|
9362
|
+
React__default['default'].createElement(
|
|
9363
9363
|
'h2',
|
|
9364
9364
|
{ className: 'article-title' },
|
|
9365
9365
|
article.title
|
|
9366
9366
|
),
|
|
9367
|
-
React__default[
|
|
9367
|
+
React__default['default'].createElement(
|
|
9368
9368
|
'div',
|
|
9369
9369
|
{ className: 'mt-2 mb-2' },
|
|
9370
|
-
React__default[
|
|
9370
|
+
React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({
|
|
9371
9371
|
serializers: getSerializers,
|
|
9372
9372
|
videoAccountIDs: accountIDs,
|
|
9373
9373
|
blocks: article.text,
|
|
9374
9374
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9375
9375
|
}, client.config())),
|
|
9376
|
-
React__default[
|
|
9376
|
+
React__default['default'].createElement('hr', { className: 'article-seperater my-4' })
|
|
9377
9377
|
),
|
|
9378
|
-
Articles.length > 1 && React__default[
|
|
9379
|
-
React__default[
|
|
9378
|
+
Articles.length > 1 && React__default['default'].createElement(
|
|
9379
|
+
React__default['default'].Fragment,
|
|
9380
9380
|
null,
|
|
9381
|
-
React__default[
|
|
9381
|
+
React__default['default'].createElement(
|
|
9382
9382
|
'div',
|
|
9383
9383
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9384
|
-
React__default[
|
|
9384
|
+
React__default['default'].createElement(
|
|
9385
9385
|
'h5',
|
|
9386
9386
|
{ className: 'objective-title' },
|
|
9387
9387
|
nodes.seriesTitle
|
|
9388
9388
|
),
|
|
9389
|
-
React__default[
|
|
9389
|
+
React__default['default'].createElement(
|
|
9390
9390
|
'div',
|
|
9391
9391
|
{ className: 'prevNextWrapper' },
|
|
9392
9392
|
PrevNextCards(true, index)
|
|
9393
9393
|
)
|
|
9394
9394
|
),
|
|
9395
|
-
React__default[
|
|
9395
|
+
React__default['default'].createElement('hr', { className: 'article-seperater' })
|
|
9396
9396
|
)
|
|
9397
9397
|
)
|
|
9398
9398
|
)
|
|
9399
9399
|
);
|
|
9400
9400
|
}),
|
|
9401
|
-
React__default[
|
|
9401
|
+
React__default['default'].createElement(
|
|
9402
9402
|
'style',
|
|
9403
9403
|
{ jsx: 'true' },
|
|
9404
9404
|
'\n .scrollToTopArrow {\n position: fixed;\n top: 150px;\n display: flex;\n justify-content: center;\n width: ' + contentWidth + 'px;\n opacity: 1;\n z-index: 99999999999;\n visibility: hidden;\n }\n .scrollToTopArrow > svg {\n min-height: 50px;\n min-width: 50px;\n max-height: 50px;\n max-width: 50px;\n }\n .block-content > div p {\n padding: 0;\n }\n\n h2.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.article-title {\n padding: 0;\n font-weight: 500;\n }\n h4.prevNext-title {\n padding: 0;\n font-size: 1rem;\n font-weight: 500;\n }\n .article-wrapper {\n border: 1px solid #252525;\n border-radius: 5px;\n padding: 1rem 1rem 0 1rem;\n margin-bottom: 1rem;\n }\n .prevNext-reading {\n margin-top: -10px;\n width: 75%;\n text-align: center;\n background: white;\n border: 1px solid #252525;\n align-self: center;\n display: none;\n }\n .showReading {\n display: block;\n }\n .author-details-wrapper a {\n color: #252525;\n }\n .objective-prevNext-Wrapper {\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n .objective-title {\n padding: 0 !important;\n }\n .prevNext-thumbnail {\n display: flex;\n flex-direction: column;\n min-width: 225px;\n max-width: 225px;\n overflow: hidden;\n align-items: center;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-thumbnail img {\n height: 125px;\n object-fit: contain;\n border-radius: 15px;\n }\n .prevNext-summary {\n text-align: center;\n }\n .prevNext-publishDate {\n font-size: 0.75rem;\n margin-top: 0.5rem;\n }\n .prevNext-title {\n padding: 0 !important;\n line-height: 1 !important;\n font-weight: 500;\n }\n .prevNextWrapper {\n display: flex;\n flex-direction: row;\n justify-content: space-evenly;\n flex-wrap: wrap;\n }\n .prevNextWrapper a {\n display: flex;\n flex-direction: column;\n color: #252525;\n align-items: center;\n }\n .prevNextCards {\n max-width: 250px;\n margin-bottom: 1rem;\n }\n @media only screen and (max-width: 568px) {\n .prevNextWrapper {\n flex-direction: column;\n align-items: center;\n }\n .prevNextCards {\n margin-bottom: 2rem;\n }\n }\n @media only screen and (max-width: 568px) {\n }\n '
|
|
@@ -9428,11 +9428,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9428
9428
|
};
|
|
9429
9429
|
}, [handleClickOutside]);
|
|
9430
9430
|
|
|
9431
|
-
return React__default[
|
|
9431
|
+
return React__default['default'].createElement(
|
|
9432
9432
|
'div',
|
|
9433
9433
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9434
|
-
React__default[
|
|
9435
|
-
React__default[
|
|
9434
|
+
React__default['default'].createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9435
|
+
React__default['default'].createElement(
|
|
9436
9436
|
'style',
|
|
9437
9437
|
{ jsx: 'true' },
|
|
9438
9438
|
'\n /*Eliminates padding, centers the thumbnail */\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9446,7 +9446,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9446
9446
|
}
|
|
9447
9447
|
};
|
|
9448
9448
|
|
|
9449
|
-
var FigureImage$1 = React__default[
|
|
9449
|
+
var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
9450
9450
|
var node = _ref2.node,
|
|
9451
9451
|
client = _ref2.client,
|
|
9452
9452
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9454,13 +9454,13 @@ var FigureImage$1 = React__default["default"].memo(function (_ref2) {
|
|
|
9454
9454
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9455
9455
|
|
|
9456
9456
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9457
|
-
return React__default[
|
|
9457
|
+
return React__default['default'].createElement(
|
|
9458
9458
|
'picture',
|
|
9459
9459
|
null,
|
|
9460
|
-
React__default[
|
|
9461
|
-
React__default[
|
|
9462
|
-
React__default[
|
|
9463
|
-
React__default[
|
|
9460
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9461
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9462
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9463
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9464
9464
|
style: figureImageStyle,
|
|
9465
9465
|
className: 'figure-image',
|
|
9466
9466
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9511,30 +9511,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9511
9511
|
|
|
9512
9512
|
var renderTooltip = function renderTooltip(props) {
|
|
9513
9513
|
if (infoBox[0].title) {
|
|
9514
|
-
return React__default[
|
|
9515
|
-
Popover__default[
|
|
9514
|
+
return React__default['default'].createElement(
|
|
9515
|
+
Popover__default['default'],
|
|
9516
9516
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9517
|
-
React__default[
|
|
9518
|
-
Popover__default[
|
|
9517
|
+
React__default['default'].createElement(
|
|
9518
|
+
Popover__default['default'].Title,
|
|
9519
9519
|
{ as: 'h3' },
|
|
9520
9520
|
infoBox[0].title
|
|
9521
9521
|
),
|
|
9522
|
-
React__default[
|
|
9523
|
-
Popover__default[
|
|
9522
|
+
React__default['default'].createElement(
|
|
9523
|
+
Popover__default['default'].Content,
|
|
9524
9524
|
null,
|
|
9525
|
-
React__default[
|
|
9525
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9526
9526
|
)
|
|
9527
9527
|
);
|
|
9528
9528
|
} else {
|
|
9529
|
-
return React__default[
|
|
9530
|
-
Tooltip__default[
|
|
9529
|
+
return React__default['default'].createElement(
|
|
9530
|
+
Tooltip__default['default'],
|
|
9531
9531
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9532
|
-
React__default[
|
|
9532
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9533
9533
|
);
|
|
9534
9534
|
}
|
|
9535
9535
|
};
|
|
9536
9536
|
|
|
9537
|
-
var FigureImageWOverLay = React__default[
|
|
9537
|
+
var FigureImageWOverLay = React__default['default'].memo(function (_ref3) {
|
|
9538
9538
|
var node = _ref3.node,
|
|
9539
9539
|
client = _ref3.client,
|
|
9540
9540
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9544,13 +9544,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9544
9544
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9545
9545
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9546
9546
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9547
|
-
return React__default[
|
|
9547
|
+
return React__default['default'].createElement(
|
|
9548
9548
|
'picture',
|
|
9549
9549
|
null,
|
|
9550
|
-
React__default[
|
|
9551
|
-
React__default[
|
|
9552
|
-
React__default[
|
|
9553
|
-
main.main_42 && link ? React__default[
|
|
9550
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9551
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9552
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9553
|
+
main.main_42 && link ? React__default['default'].createElement('img', _extends._extends({
|
|
9554
9554
|
style: figureImageStyle,
|
|
9555
9555
|
className: 'figure-image',
|
|
9556
9556
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9559,10 +9559,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9559
9559
|
onClick: function onClick() {
|
|
9560
9560
|
return handleClickFigure(node, client);
|
|
9561
9561
|
}
|
|
9562
|
-
})) : React__default[
|
|
9563
|
-
OverlayTrigger__default[
|
|
9562
|
+
})) : React__default['default'].createElement(
|
|
9563
|
+
OverlayTrigger__default['default'],
|
|
9564
9564
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9565
|
-
React__default[
|
|
9565
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9566
9566
|
style: figureImageStyle,
|
|
9567
9567
|
className: 'figure-image',
|
|
9568
9568
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9616,13 +9616,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9616
9616
|
|
|
9617
9617
|
var FigureCaption = React.useCallback(function () {
|
|
9618
9618
|
if (imgcaption && imgcaption.length > 0) {
|
|
9619
|
-
return React__default[
|
|
9619
|
+
return React__default['default'].createElement(
|
|
9620
9620
|
'div',
|
|
9621
9621
|
{ className: 'figure-caption' },
|
|
9622
|
-
React__default[
|
|
9622
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9623
9623
|
);
|
|
9624
9624
|
} else if (caption) {
|
|
9625
|
-
return React__default[
|
|
9625
|
+
return React__default['default'].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9626
9626
|
} else return null;
|
|
9627
9627
|
}, [caption, imgcaption]);
|
|
9628
9628
|
|
|
@@ -9639,24 +9639,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9639
9639
|
setShowLightbox(true);
|
|
9640
9640
|
}, [node, client]);
|
|
9641
9641
|
|
|
9642
|
-
return React__default[
|
|
9643
|
-
React__default[
|
|
9642
|
+
return React__default['default'].createElement(
|
|
9643
|
+
React__default['default'].Fragment,
|
|
9644
9644
|
null,
|
|
9645
|
-
infoBox.length >= 1 ? React__default[
|
|
9646
|
-
Figure__default[
|
|
9645
|
+
infoBox.length >= 1 ? React__default['default'].createElement(
|
|
9646
|
+
Figure__default['default'],
|
|
9647
9647
|
{ className: '' + class_name, style: figureStyle },
|
|
9648
|
-
link ? React__default[
|
|
9648
|
+
link ? React__default['default'].createElement(
|
|
9649
9649
|
'a',
|
|
9650
9650
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9651
|
-
React__default[
|
|
9652
|
-
React__default[
|
|
9653
|
-
) : React__default[
|
|
9654
|
-
React__default[
|
|
9651
|
+
React__default['default'].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9652
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9653
|
+
) : React__default['default'].createElement(
|
|
9654
|
+
React__default['default'].Fragment,
|
|
9655
9655
|
null,
|
|
9656
|
-
React__default[
|
|
9657
|
-
React__default[
|
|
9656
|
+
React__default['default'].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9657
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9658
9658
|
),
|
|
9659
|
-
React__default[
|
|
9659
|
+
React__default['default'].createElement(LightBox, {
|
|
9660
9660
|
showLightbox: showLightbox,
|
|
9661
9661
|
lightboxImgSrc: lightboxImgSrc,
|
|
9662
9662
|
closeLightbox: function closeLightbox() {
|
|
@@ -9664,21 +9664,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9664
9664
|
setShowLightbox(false);
|
|
9665
9665
|
}
|
|
9666
9666
|
})
|
|
9667
|
-
) : React__default[
|
|
9668
|
-
Figure__default[
|
|
9667
|
+
) : React__default['default'].createElement(
|
|
9668
|
+
Figure__default['default'],
|
|
9669
9669
|
{ className: '' + class_name, style: figureStyle },
|
|
9670
|
-
link ? React__default[
|
|
9670
|
+
link ? React__default['default'].createElement(
|
|
9671
9671
|
'a',
|
|
9672
9672
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9673
|
-
React__default[
|
|
9674
|
-
React__default[
|
|
9675
|
-
) : React__default[
|
|
9676
|
-
React__default[
|
|
9673
|
+
React__default['default'].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9674
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9675
|
+
) : React__default['default'].createElement(
|
|
9676
|
+
React__default['default'].Fragment,
|
|
9677
9677
|
null,
|
|
9678
|
-
React__default[
|
|
9679
|
-
React__default[
|
|
9678
|
+
React__default['default'].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9679
|
+
React__default['default'].createElement(FigureCaption, null)
|
|
9680
9680
|
),
|
|
9681
|
-
React__default[
|
|
9681
|
+
React__default['default'].createElement(LightBox, {
|
|
9682
9682
|
showLightbox: showLightbox,
|
|
9683
9683
|
lightboxImgSrc: lightboxImgSrc,
|
|
9684
9684
|
closeLightbox: function closeLightbox() {
|
|
@@ -9687,7 +9687,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9687
9687
|
}
|
|
9688
9688
|
})
|
|
9689
9689
|
),
|
|
9690
|
-
React__default[
|
|
9690
|
+
React__default['default'].createElement(
|
|
9691
9691
|
'style',
|
|
9692
9692
|
{ jsx: 'true' },
|
|
9693
9693
|
'\n .figure-caption,\n .figure-caption h1,\n .figure-caption h2,\n .figure-caption h3,\n .figure-caption h4,\n .figure-caption h5,\n .figure-caption h6,\n .figure-caption p,\n .figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n '
|
|
@@ -9695,7 +9695,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9695
9695
|
);
|
|
9696
9696
|
};
|
|
9697
9697
|
|
|
9698
|
-
var Figure = React__default[
|
|
9698
|
+
var Figure = React__default['default'].memo(FigureComponent, compareProps);
|
|
9699
9699
|
|
|
9700
9700
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9701
9701
|
React.useEffect(function () {
|
|
@@ -9712,7 +9712,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9712
9712
|
}, [ref]);
|
|
9713
9713
|
}
|
|
9714
9714
|
|
|
9715
|
-
var FigureImage = React__default[
|
|
9715
|
+
var FigureImage = React__default['default'].memo(function (_ref) {
|
|
9716
9716
|
var imagesCount = _ref.imagesCount,
|
|
9717
9717
|
image = _ref.image,
|
|
9718
9718
|
client = _ref.client,
|
|
@@ -9720,13 +9720,13 @@ var FigureImage = React__default["default"].memo(function (_ref) {
|
|
|
9720
9720
|
link = _ref.link,
|
|
9721
9721
|
handleClickFigure = _ref.handleClickFigure;
|
|
9722
9722
|
|
|
9723
|
-
return React__default[
|
|
9723
|
+
return React__default['default'].createElement(
|
|
9724
9724
|
'picture',
|
|
9725
9725
|
null,
|
|
9726
|
-
React__default[
|
|
9727
|
-
React__default[
|
|
9728
|
-
React__default[
|
|
9729
|
-
React__default[
|
|
9726
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9727
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9728
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9729
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9730
9730
|
'images-count': imagesCount,
|
|
9731
9731
|
className: 'multi-figure-image',
|
|
9732
9732
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9763,13 +9763,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9763
9763
|
imgcaption = _ref2.imgcaption;
|
|
9764
9764
|
|
|
9765
9765
|
if (imgcaption && imgcaption.length > 0) {
|
|
9766
|
-
return React__default[
|
|
9766
|
+
return React__default['default'].createElement(
|
|
9767
9767
|
'div',
|
|
9768
9768
|
{ className: 'multi-figure-caption' },
|
|
9769
|
-
React__default[
|
|
9769
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9770
9770
|
);
|
|
9771
9771
|
} else if (caption) {
|
|
9772
|
-
return React__default[
|
|
9772
|
+
return React__default['default'].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9773
9773
|
} else return null;
|
|
9774
9774
|
};
|
|
9775
9775
|
|
|
@@ -9778,7 +9778,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9778
9778
|
setOpenImg(true);
|
|
9779
9779
|
}, [client]);
|
|
9780
9780
|
|
|
9781
|
-
var FigureImageWOverLay = React__default[
|
|
9781
|
+
var FigureImageWOverLay = React__default['default'].memo(function (_ref3) {
|
|
9782
9782
|
var imagesCount = _ref3.imagesCount,
|
|
9783
9783
|
image = _ref3.image,
|
|
9784
9784
|
client = _ref3.client,
|
|
@@ -9788,13 +9788,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9788
9788
|
|
|
9789
9789
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9790
9790
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9791
|
-
return React__default[
|
|
9791
|
+
return React__default['default'].createElement(
|
|
9792
9792
|
'picture',
|
|
9793
9793
|
null,
|
|
9794
|
-
React__default[
|
|
9795
|
-
React__default[
|
|
9796
|
-
React__default[
|
|
9797
|
-
main.main_42 && link ? React__default[
|
|
9794
|
+
React__default['default'].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9795
|
+
React__default['default'].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9796
|
+
React__default['default'].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9797
|
+
main.main_42 && link ? React__default['default'].createElement('img', _extends._extends({
|
|
9798
9798
|
'images-count': imagesCount,
|
|
9799
9799
|
className: 'multi-figure-image',
|
|
9800
9800
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9803,10 +9803,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9803
9803
|
onClick: function onClick() {
|
|
9804
9804
|
return handleClickFigure(image, client);
|
|
9805
9805
|
}
|
|
9806
|
-
})) : React__default[
|
|
9807
|
-
OverlayTrigger__default[
|
|
9806
|
+
})) : React__default['default'].createElement(
|
|
9807
|
+
OverlayTrigger__default['default'],
|
|
9808
9808
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9809
|
-
React__default[
|
|
9809
|
+
React__default['default'].createElement('img', _extends._extends({
|
|
9810
9810
|
'images-count': imagesCount,
|
|
9811
9811
|
className: 'multi-figure-image',
|
|
9812
9812
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9822,102 +9822,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9822
9822
|
|
|
9823
9823
|
var renderTooltip = function renderTooltip(image) {
|
|
9824
9824
|
if (image.infoBox[0].title) {
|
|
9825
|
-
return React__default[
|
|
9826
|
-
Popover__default[
|
|
9825
|
+
return React__default['default'].createElement(
|
|
9826
|
+
Popover__default['default'],
|
|
9827
9827
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9828
|
-
React__default[
|
|
9829
|
-
Popover__default[
|
|
9828
|
+
React__default['default'].createElement(
|
|
9829
|
+
Popover__default['default'].Title,
|
|
9830
9830
|
{ as: 'h3' },
|
|
9831
9831
|
image.infoBox[0].title
|
|
9832
9832
|
),
|
|
9833
|
-
React__default[
|
|
9834
|
-
Popover__default[
|
|
9833
|
+
React__default['default'].createElement(
|
|
9834
|
+
Popover__default['default'].Content,
|
|
9835
9835
|
null,
|
|
9836
|
-
React__default[
|
|
9836
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9837
9837
|
)
|
|
9838
9838
|
);
|
|
9839
9839
|
} else {
|
|
9840
|
-
return React__default[
|
|
9841
|
-
Tooltip__default[
|
|
9840
|
+
return React__default['default'].createElement(
|
|
9841
|
+
Tooltip__default['default'],
|
|
9842
9842
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9843
|
-
React__default[
|
|
9843
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9844
9844
|
);
|
|
9845
9845
|
}
|
|
9846
9846
|
};
|
|
9847
9847
|
|
|
9848
9848
|
if (images && images.length > 0) {
|
|
9849
|
-
return React__default[
|
|
9849
|
+
return React__default['default'].createElement(
|
|
9850
9850
|
'div',
|
|
9851
9851
|
{ className: 'multi-figure-container' },
|
|
9852
|
-
React__default[
|
|
9853
|
-
Row__default[
|
|
9852
|
+
React__default['default'].createElement(
|
|
9853
|
+
Row__default['default'],
|
|
9854
9854
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9855
9855
|
images.map(function (image, index) {
|
|
9856
9856
|
if (image.infoBox) {
|
|
9857
|
-
return React__default[
|
|
9858
|
-
Col__default[
|
|
9857
|
+
return React__default['default'].createElement(
|
|
9858
|
+
Col__default['default'],
|
|
9859
9859
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9860
|
-
image.link ? React__default[
|
|
9860
|
+
image.link ? React__default['default'].createElement(
|
|
9861
9861
|
'a',
|
|
9862
9862
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9863
|
-
React__default[
|
|
9863
|
+
React__default['default'].createElement(
|
|
9864
9864
|
'div',
|
|
9865
9865
|
{ className: 'multi-figure-image-container' },
|
|
9866
|
-
React__default[
|
|
9866
|
+
React__default['default'].createElement(
|
|
9867
9867
|
index$2.LazyLoad,
|
|
9868
9868
|
{ once: true },
|
|
9869
|
-
React__default[
|
|
9869
|
+
React__default['default'].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9870
9870
|
),
|
|
9871
|
-
React__default[
|
|
9871
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9872
9872
|
)
|
|
9873
|
-
) : React__default[
|
|
9873
|
+
) : React__default['default'].createElement(
|
|
9874
9874
|
'div',
|
|
9875
9875
|
{ className: 'multi-figure-image-container' },
|
|
9876
|
-
React__default[
|
|
9876
|
+
React__default['default'].createElement(
|
|
9877
9877
|
index$2.LazyLoad,
|
|
9878
9878
|
{ once: true },
|
|
9879
|
-
React__default[
|
|
9879
|
+
React__default['default'].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9880
9880
|
),
|
|
9881
|
-
React__default[
|
|
9881
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9882
9882
|
)
|
|
9883
9883
|
);
|
|
9884
9884
|
} else {
|
|
9885
|
-
return React__default[
|
|
9886
|
-
Col__default[
|
|
9885
|
+
return React__default['default'].createElement(
|
|
9886
|
+
Col__default['default'],
|
|
9887
9887
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9888
|
-
image.link ? React__default[
|
|
9888
|
+
image.link ? React__default['default'].createElement(
|
|
9889
9889
|
'a',
|
|
9890
9890
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9891
|
-
React__default[
|
|
9891
|
+
React__default['default'].createElement(
|
|
9892
9892
|
'div',
|
|
9893
9893
|
{ className: 'multi-figure-image-container' },
|
|
9894
|
-
React__default[
|
|
9894
|
+
React__default['default'].createElement(
|
|
9895
9895
|
index$2.LazyLoad,
|
|
9896
9896
|
{ once: true },
|
|
9897
|
-
React__default[
|
|
9897
|
+
React__default['default'].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9898
9898
|
),
|
|
9899
|
-
React__default[
|
|
9899
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9900
9900
|
)
|
|
9901
|
-
) : React__default[
|
|
9901
|
+
) : React__default['default'].createElement(
|
|
9902
9902
|
'div',
|
|
9903
9903
|
{ className: 'multi-figure-image-container' },
|
|
9904
|
-
React__default[
|
|
9904
|
+
React__default['default'].createElement(
|
|
9905
9905
|
index$2.LazyLoad,
|
|
9906
9906
|
{ once: true },
|
|
9907
|
-
React__default[
|
|
9907
|
+
React__default['default'].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9908
9908
|
),
|
|
9909
|
-
React__default[
|
|
9909
|
+
React__default['default'].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9910
9910
|
)
|
|
9911
9911
|
);
|
|
9912
9912
|
}
|
|
9913
9913
|
})
|
|
9914
9914
|
),
|
|
9915
|
-
React__default[
|
|
9915
|
+
React__default['default'].createElement(
|
|
9916
9916
|
'div',
|
|
9917
9917
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9918
|
-
React__default[
|
|
9918
|
+
React__default['default'].createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9919
9919
|
),
|
|
9920
|
-
React__default[
|
|
9920
|
+
React__default['default'].createElement(
|
|
9921
9921
|
'style',
|
|
9922
9922
|
{ jsx: 'true' },
|
|
9923
9923
|
'\n .multi-figure-caption,\n .multi-figure-caption h1,\n .multi-figure-caption h2,\n .multi-figure-caption h3,\n .multi-figure-caption h4,\n .multi-figure-caption h5,\n .multi-figure-caption h6,\n .multi-figure-caption p,\n .multi-figure-caption ul {\n color: #6c757d;\n font-size: 0.875rem;\n }\n\n .multi-figure-container {\n margin-bottom: 1rem;\n }\n .multi-figure-image {\n width: 100%;\n height: auto;\n object-fit: contain;\n cursor: pointer;\n }\n .multi-figure-image-container {\n padding-right: 0.5rem;\n }\n /* Small devices (portrait tablets and phones, 767px and down) */\n @media (max-width: 767px) {\n .multi-figure-image-container {\n margin-bottom: 1rem;\n }\n }\n\n /* Medium devices (landscape tablets, 768px and up) */\n @media (min-width: 768px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 100px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 130px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 200px;\n }\n .multi-figure-container [class*=\'col-\'] + [class*=\'col-\'] {\n padding-left: 0.75rem;\n }\n }\n\n /* Large devices (laptops/desktops, 992px and up) */\n @media (min-width: 992px) {\n .multi-figure-image[images-count=\'4\'] {\n max-height: 150px;\n }\n .multi-figure-image[images-count=\'3\'] {\n max-height: 200px;\n }\n .multi-figure-image[images-count=\'2\'] {\n max-height: 300px;\n }\n }\n\n /* Styles the lightbox, removes it from sight and adds the fade-in transition */\n\n .lightbox-target {\n position: fixed;\n top: -100%;\n width: 100%;\n background: rgba(0, 0, 0, 0.7);\n width: 100%;\n opacity: 0;\n -webkit-transition: opacity 0.5s ease-in-out;\n -moz-transition: opacity 0.5s ease-in-out;\n -o-transition: opacity 0.5s ease-in-out;\n transition: opacity 0.5s ease-in-out;\n overflow: hidden;\n }\n\n .lightbox-target.close {\n opacity: 0;\n }\n\n /* Styles the lightbox image, centers it vertically and horizontally, adds the zoom-in transition and makes it responsive using a combination of margin and absolute positioning */\n\n .lightbox-target img {\n margin: auto;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n max-height: 0%;\n max-width: 0%;\n border: 3px solid white;\n box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);\n box-sizing: border-box;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Styles the close link, adds the slide down transition */\n\n a.lightbox-close {\n display: block;\n width: 50px;\n height: 50px;\n box-sizing: border-box;\n background: white;\n color: black;\n text-decoration: none;\n position: absolute;\n top: -80px;\n right: 0;\n -webkit-transition: 0.5s ease-in-out;\n -moz-transition: 0.5s ease-in-out;\n -o-transition: 0.5s ease-in-out;\n transition: 0.5s ease-in-out;\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:before {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(45deg);\n -moz-transform: rotate(45deg);\n -o-transform: rotate(45deg);\n transform: rotate(45deg);\n }\n\n /* Provides part of the "X" to eliminate an image from the close link */\n\n a.lightbox-close:after {\n content: \'\';\n display: block;\n height: 30px;\n width: 1px;\n background: black;\n position: absolute;\n left: 26px;\n top: 10px;\n -webkit-transform: rotate(-45deg);\n -moz-transform: rotate(-45deg);\n -o-transform: rotate(-45deg);\n transform: rotate(-45deg);\n }\n\n /* Uses the :target pseudo-class to perform the animations upon clicking the .lightbox-target anchor */\n\n .lightbox-target.open {\n opacity: 1;\n top: 0;\n bottom: 0;\n right: 0;\n z-index: 3000000;\n }\n\n .lightbox-target.open img {\n max-height: 100%;\n max-width: 100%;\n }\n\n .lightbox-target.open a.lightbox-close {\n top: 0px;\n }\n '
|
|
@@ -9966,23 +9966,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9966
9966
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9967
9967
|
}, []);
|
|
9968
9968
|
|
|
9969
|
-
return React__default[
|
|
9970
|
-
React__default[
|
|
9969
|
+
return React__default['default'].createElement(
|
|
9970
|
+
React__default['default'].Fragment,
|
|
9971
9971
|
null,
|
|
9972
|
-
React__default[
|
|
9973
|
-
Head__default[
|
|
9972
|
+
React__default['default'].createElement(
|
|
9973
|
+
Head__default['default'],
|
|
9974
9974
|
null,
|
|
9975
|
-
React__default[
|
|
9975
|
+
React__default['default'].createElement('script', {
|
|
9976
9976
|
dangerouslySetInnerHTML: {
|
|
9977
9977
|
__html: 'history.scrollRestoration = "manual"'
|
|
9978
9978
|
}
|
|
9979
9979
|
})
|
|
9980
9980
|
),
|
|
9981
|
-
React__default[
|
|
9981
|
+
React__default['default'].createElement(
|
|
9982
9982
|
'div',
|
|
9983
9983
|
{ id: elementId },
|
|
9984
|
-
React__default[
|
|
9985
|
-
React__default[
|
|
9984
|
+
React__default['default'].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9985
|
+
React__default['default'].createElement(
|
|
9986
9986
|
'style',
|
|
9987
9987
|
{ jsx: 'true' },
|
|
9988
9988
|
'\n #' + elementId + '::before {\n display: block;\n content: \' \';\n margin-top: -' + (offsetHeight + offsetHeightBuffer) + 'px;\n height: ' + (offsetHeight + offsetHeightBuffer) + 'px;\n visibility: hidden;\n pointer-events: none;\n }\n '
|
|
@@ -10036,11 +10036,11 @@ var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
|
10036
10036
|
|
|
10037
10037
|
|
|
10038
10038
|
|
|
10039
|
-
var _react2 = _interopRequireDefault(React__default[
|
|
10039
|
+
var _react2 = _interopRequireDefault(React__default['default']);
|
|
10040
10040
|
|
|
10041
10041
|
|
|
10042
10042
|
|
|
10043
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default[
|
|
10043
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default['default']);
|
|
10044
10044
|
|
|
10045
10045
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10046
10046
|
var noop = function noop() {};
|
|
@@ -10195,7 +10195,7 @@ var ScriptTag = function (_Component) {
|
|
|
10195
10195
|
};
|
|
10196
10196
|
|
|
10197
10197
|
return ScriptTag;
|
|
10198
|
-
}(React__default[
|
|
10198
|
+
}(React__default['default'].Component);
|
|
10199
10199
|
|
|
10200
10200
|
ScriptTag.propTypes = {
|
|
10201
10201
|
/**
|
|
@@ -10287,11 +10287,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10287
10287
|
}, [anonymousID]);
|
|
10288
10288
|
|
|
10289
10289
|
if (iframeSrc) {
|
|
10290
|
-
return React__default[
|
|
10290
|
+
return React__default['default'].createElement(
|
|
10291
10291
|
'section',
|
|
10292
10292
|
{ className: 'form-assembly' },
|
|
10293
|
-
iframeSrc && React__default[
|
|
10294
|
-
React__default[
|
|
10293
|
+
iframeSrc && React__default['default'].createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10294
|
+
React__default['default'].createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10295
10295
|
);
|
|
10296
10296
|
}
|
|
10297
10297
|
|
|
@@ -10328,27 +10328,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10328
10328
|
return window.removeEventListener('resize', handleResize);
|
|
10329
10329
|
};
|
|
10330
10330
|
}, []);
|
|
10331
|
-
return React__default[
|
|
10331
|
+
return React__default['default'].createElement(
|
|
10332
10332
|
'div',
|
|
10333
10333
|
{ className: 'blockTableHolder', ref: holder },
|
|
10334
|
-
React__default[
|
|
10334
|
+
React__default['default'].createElement(
|
|
10335
10335
|
'div',
|
|
10336
10336
|
{ className: 'blockTable' },
|
|
10337
10337
|
rows && rows.map(function (row) {
|
|
10338
|
-
return React__default[
|
|
10338
|
+
return React__default['default'].createElement(
|
|
10339
10339
|
'div',
|
|
10340
10340
|
{ className: 'blockTableRow' },
|
|
10341
10341
|
row.cells && row.cells.map(function (cell) {
|
|
10342
|
-
return React__default[
|
|
10342
|
+
return React__default['default'].createElement(
|
|
10343
10343
|
'div',
|
|
10344
10344
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10345
|
-
React__default[
|
|
10345
|
+
React__default['default'].createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10346
10346
|
);
|
|
10347
10347
|
})
|
|
10348
10348
|
);
|
|
10349
10349
|
})
|
|
10350
10350
|
),
|
|
10351
|
-
React__default[
|
|
10351
|
+
React__default['default'].createElement(
|
|
10352
10352
|
'style',
|
|
10353
10353
|
{ jsx: true },
|
|
10354
10354
|
'\n .blockTableRow {\n display: flex;\n ' + (showBorders && 'border-top: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTable {\n min-width: ' + minTableWidth + 'px;\n }\n .blockTableRow:last-of-type {\n ' + (showBorders && 'border-bottom: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell {\n padding: 0.5rem;\n ' + (showBorders && 'border-left: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n .blockTableCell > div {\n width: 100%;\n }\n .blockTableCell > div p {\n margin: 0;\n }\n .blockTableCell > div figure {\n margin: 0 !important;\n }\n .blockTableCell > div figure img {\n margin: 0 !important;\n }\n .blockTableCell:last-of-type {\n ' + (showBorders && 'border-right: ' + borderWidth + 'px solid ' + _borderColor) + ';\n }\n @media only screen and (max-width: 800px) {\n .blockTableCell {\n padding: 0.25rem;\n }\n }\n '
|
|
@@ -10362,7 +10362,7 @@ var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
|
10362
10362
|
_props$node.needSegmentSupport;
|
|
10363
10363
|
|
|
10364
10364
|
|
|
10365
|
-
return React__default[
|
|
10365
|
+
return React__default['default'].createElement('div', { id: FormID });
|
|
10366
10366
|
};
|
|
10367
10367
|
|
|
10368
10368
|
var siteArray = ['aestheticauthority.com', 'cannapatientcare.com', 'chiefhealthcareexecutive.com', 'genetherapylive.com', 'giantsofcancercare.com', 'medicalworldnews.com', 'pbmi.com', 'pharmacytimes.org', 'gotoper.com', 'education.gotoper.com', 'mjhlifesciences.com', 'ajmc.com', 'appliedclinicaltrialsonline.com', 'biopharminternational.com', 'cancernetwork.com', 'cannabissciencetech.com', 'centerforbiosimilars.com', 'chromatographyonline.com', 'contagionlive.com', 'contemporaryclinic.com', 'contemporaryobgyn.net', 'contemporarypediatrics.com', 'curetoday.com', 'dentalproductsreport.com', 'dermatologytimes.com', 'diagnosticimaging.com', 'drugtopics.com', 'dvm360.com', 'endocrinologynetwork.com', 'europe.ophthalmologytimes.com', 'formularywatch.com', 'hcplive.com', 'infectioncontroltoday.com', 'managedhealthcareexecutive.com', 'medicaleconomics.com', 'modernretina.com', 'neurologylive.com', 'nutritionaloutlook.com', 'onclive.com', 'oncnursingnews.com', 'ophthalmologytimes.com', 'optometrytimes.com', 'patientcareonline.com', 'pharmaceuticalcommerce.com', 'pharmacytimes.com', 'pharmexec.com', 'pharmtech.com', 'physicianspractice.com', 'practicalcardiology.com', 'psychiatrictimes.com', 'rheumatologynetwork.com', 'spectroscopyonline.com', 'targetedonc.com', 'turbomachinerymag.com', 'urologytimes.com'];
|
|
@@ -10431,7 +10431,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10431
10431
|
if (href && href.charAt(0) === '#') {
|
|
10432
10432
|
var elementId = href.slice(1);
|
|
10433
10433
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10434
|
-
return React__default[
|
|
10434
|
+
return React__default['default'].createElement(
|
|
10435
10435
|
'a',
|
|
10436
10436
|
{ onClick: function onClick() {
|
|
10437
10437
|
return ScrollToElement(elementId);
|
|
@@ -10441,11 +10441,11 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10441
10441
|
}
|
|
10442
10442
|
|
|
10443
10443
|
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkBaseUrl(href) ? 'noreferrer noopener' : '');
|
|
10444
|
-
return href ? linkRel.trim().length > 0 ? React__default[
|
|
10444
|
+
return href ? linkRel.trim().length > 0 ? React__default['default'].createElement(
|
|
10445
10445
|
'a',
|
|
10446
10446
|
_extends._extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10447
10447
|
children
|
|
10448
|
-
) : React__default[
|
|
10448
|
+
) : React__default['default'].createElement(
|
|
10449
10449
|
'a',
|
|
10450
10450
|
_extends._extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10451
10451
|
children
|
|
@@ -10510,12 +10510,12 @@ var getSerializers = function getSerializers() {
|
|
|
10510
10510
|
var node = _ref.node;
|
|
10511
10511
|
var url = node.url;
|
|
10512
10512
|
|
|
10513
|
-
return React__default[
|
|
10513
|
+
return React__default['default'].createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10514
10514
|
},
|
|
10515
10515
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10516
10516
|
var node = _ref2.node;
|
|
10517
10517
|
|
|
10518
|
-
return React__default[
|
|
10518
|
+
return React__default['default'].createElement(YouTubeGallery, {
|
|
10519
10519
|
nodes: node,
|
|
10520
10520
|
article: article,
|
|
10521
10521
|
meta: meta,
|
|
@@ -10529,7 +10529,7 @@ var getSerializers = function getSerializers() {
|
|
|
10529
10529
|
articleSeries: function articleSeries(_ref3) {
|
|
10530
10530
|
var node = _ref3.node;
|
|
10531
10531
|
|
|
10532
|
-
return React__default[
|
|
10532
|
+
return React__default['default'].createElement(ArticleSeries, {
|
|
10533
10533
|
nodes: node,
|
|
10534
10534
|
accountIDs: videoAccountIDs || {},
|
|
10535
10535
|
pageview: pageview,
|
|
@@ -10542,61 +10542,61 @@ var getSerializers = function getSerializers() {
|
|
|
10542
10542
|
figure: function figure(_ref4) {
|
|
10543
10543
|
var node = _ref4.node;
|
|
10544
10544
|
|
|
10545
|
-
return React__default[
|
|
10545
|
+
return React__default['default'].createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10546
10546
|
},
|
|
10547
10547
|
multifigure: function multifigure(_ref5) {
|
|
10548
10548
|
var node = _ref5.node;
|
|
10549
10549
|
|
|
10550
|
-
return React__default[
|
|
10550
|
+
return React__default['default'].createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10551
10551
|
},
|
|
10552
10552
|
slideshow: function slideshow(_ref6) {
|
|
10553
10553
|
var node = _ref6.node;
|
|
10554
10554
|
var slides = node.slides;
|
|
10555
10555
|
|
|
10556
|
-
return React__default[
|
|
10556
|
+
return React__default['default'].createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10557
10557
|
},
|
|
10558
10558
|
sidebar: function sidebar(_ref7) {
|
|
10559
10559
|
var node = _ref7.node;
|
|
10560
10560
|
var caption = node.caption,
|
|
10561
10561
|
content = node.content;
|
|
10562
10562
|
|
|
10563
|
-
return React__default[
|
|
10563
|
+
return React__default['default'].createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10564
10564
|
},
|
|
10565
10565
|
datatable: function datatable(_ref8) {
|
|
10566
10566
|
var node = _ref8.node;
|
|
10567
10567
|
var table = node.table;
|
|
10568
10568
|
|
|
10569
|
-
return React__default[
|
|
10569
|
+
return React__default['default'].createElement(TableShow, { rows: table.rows });
|
|
10570
10570
|
},
|
|
10571
10571
|
media: function media(_ref9) {
|
|
10572
10572
|
var node = _ref9.node;
|
|
10573
10573
|
|
|
10574
|
-
return React__default[
|
|
10574
|
+
return React__default['default'].createElement(Media, { node: node, client: client });
|
|
10575
10575
|
},
|
|
10576
10576
|
iframe: function iframe(_ref10) {
|
|
10577
10577
|
var node = _ref10.node;
|
|
10578
10578
|
|
|
10579
|
-
return React__default[
|
|
10579
|
+
return React__default['default'].createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10580
10580
|
},
|
|
10581
10581
|
video: function video(_ref11) {
|
|
10582
10582
|
var node = _ref11.node;
|
|
10583
10583
|
|
|
10584
|
-
return React__default[
|
|
10584
|
+
return React__default['default'].createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10585
10585
|
},
|
|
10586
10586
|
audio: function audio(_ref12) {
|
|
10587
10587
|
var node = _ref12.node;
|
|
10588
10588
|
|
|
10589
|
-
return React__default[
|
|
10589
|
+
return React__default['default'].createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10590
10590
|
},
|
|
10591
10591
|
poll: function poll(_ref13) {
|
|
10592
10592
|
var node = _ref13.node;
|
|
10593
10593
|
|
|
10594
|
-
return React__default[
|
|
10594
|
+
return React__default['default'].createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10595
10595
|
},
|
|
10596
10596
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10597
10597
|
var node = _ref14.node;
|
|
10598
10598
|
|
|
10599
|
-
return React__default[
|
|
10599
|
+
return React__default['default'].createElement(Poll, {
|
|
10600
10600
|
node: node,
|
|
10601
10601
|
client: client,
|
|
10602
10602
|
pageview: pageview,
|
|
@@ -10610,35 +10610,35 @@ var getSerializers = function getSerializers() {
|
|
|
10610
10610
|
var node = _ref15.node;
|
|
10611
10611
|
var quizzes = node.quizzes;
|
|
10612
10612
|
|
|
10613
|
-
return React__default[
|
|
10613
|
+
return React__default['default'].createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10614
10614
|
},
|
|
10615
10615
|
leads: function leads(_ref16) {
|
|
10616
10616
|
var node = _ref16.node;
|
|
10617
10617
|
var leadID = node.leadID;
|
|
10618
10618
|
|
|
10619
10619
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10620
|
-
return React__default[
|
|
10620
|
+
return React__default['default'].createElement(Leads, { url: url });
|
|
10621
10621
|
},
|
|
10622
10622
|
slideshows: function slideshows(_ref17) {
|
|
10623
10623
|
var node = _ref17.node;
|
|
10624
10624
|
|
|
10625
|
-
return React__default[
|
|
10625
|
+
return React__default['default'].createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10626
10626
|
},
|
|
10627
10627
|
nativeAd: function nativeAd(_ref18) {
|
|
10628
10628
|
var node = _ref18.node;
|
|
10629
10629
|
|
|
10630
|
-
return React__default[
|
|
10630
|
+
return React__default['default'].createElement(NativeAd, { node: node });
|
|
10631
10631
|
},
|
|
10632
10632
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10633
10633
|
var node = _ref19.node;
|
|
10634
10634
|
|
|
10635
|
-
return React__default[
|
|
10635
|
+
return React__default['default'].createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10636
10636
|
},
|
|
10637
10637
|
hrtag: function hrtag() {
|
|
10638
|
-
return React__default[
|
|
10638
|
+
return React__default['default'].createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10639
10639
|
},
|
|
10640
10640
|
brtag: function brtag() {
|
|
10641
|
-
return React__default[
|
|
10641
|
+
return React__default['default'].createElement('br', { className: 'line-break' });
|
|
10642
10642
|
},
|
|
10643
10643
|
formstack: function formstack(_ref20) {
|
|
10644
10644
|
var node = _ref20.node;
|
|
@@ -10646,30 +10646,30 @@ var getSerializers = function getSerializers() {
|
|
|
10646
10646
|
Caption = node.Caption,
|
|
10647
10647
|
needSegmentSupport = node.needSegmentSupport;
|
|
10648
10648
|
|
|
10649
|
-
return React__default[
|
|
10649
|
+
return React__default['default'].createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10650
10650
|
},
|
|
10651
10651
|
formassembly: FormAssembly,
|
|
10652
10652
|
digiohSmartTag: DigiohSmartTag,
|
|
10653
10653
|
multimedia: function multimedia(_ref21) {
|
|
10654
10654
|
var node = _ref21.node;
|
|
10655
10655
|
|
|
10656
|
-
return React__default[
|
|
10656
|
+
return React__default['default'].createElement(MultiMedia, { node: node, client: client });
|
|
10657
10657
|
},
|
|
10658
10658
|
blockTable: function blockTable(_ref22) {
|
|
10659
10659
|
var node = _ref22.node;
|
|
10660
|
-
return React__default[
|
|
10660
|
+
return React__default['default'].createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10661
10661
|
}
|
|
10662
10662
|
},
|
|
10663
10663
|
marks: {
|
|
10664
10664
|
superscript: function superscript(props) {
|
|
10665
|
-
return React__default[
|
|
10665
|
+
return React__default['default'].createElement(
|
|
10666
10666
|
'sup',
|
|
10667
10667
|
null,
|
|
10668
10668
|
props.children
|
|
10669
10669
|
);
|
|
10670
10670
|
},
|
|
10671
10671
|
subscript: function subscript(props) {
|
|
10672
|
-
return React__default[
|
|
10672
|
+
return React__default['default'].createElement(
|
|
10673
10673
|
'sub',
|
|
10674
10674
|
null,
|
|
10675
10675
|
props.children
|
|
@@ -10679,11 +10679,11 @@ var getSerializers = function getSerializers() {
|
|
|
10679
10679
|
var children = props.children,
|
|
10680
10680
|
mark = props.mark;
|
|
10681
10681
|
|
|
10682
|
-
return React__default[
|
|
10682
|
+
return React__default['default'].createElement(ExternalLink, { children: children, mark: mark, articleId: articleId });
|
|
10683
10683
|
},
|
|
10684
10684
|
alignleft: function alignleft(_ref23) {
|
|
10685
10685
|
var children = _ref23.children;
|
|
10686
|
-
return React__default[
|
|
10686
|
+
return React__default['default'].createElement(
|
|
10687
10687
|
'div',
|
|
10688
10688
|
{ style: { textAlign: 'left' } },
|
|
10689
10689
|
children
|
|
@@ -10691,7 +10691,7 @@ var getSerializers = function getSerializers() {
|
|
|
10691
10691
|
},
|
|
10692
10692
|
alignright: function alignright(_ref24) {
|
|
10693
10693
|
var children = _ref24.children;
|
|
10694
|
-
return React__default[
|
|
10694
|
+
return React__default['default'].createElement(
|
|
10695
10695
|
'div',
|
|
10696
10696
|
{ style: { textAlign: 'right' } },
|
|
10697
10697
|
children
|
|
@@ -10699,7 +10699,7 @@ var getSerializers = function getSerializers() {
|
|
|
10699
10699
|
},
|
|
10700
10700
|
aligncenter: function aligncenter(_ref25) {
|
|
10701
10701
|
var children = _ref25.children;
|
|
10702
|
-
return React__default[
|
|
10702
|
+
return React__default['default'].createElement(
|
|
10703
10703
|
'div',
|
|
10704
10704
|
{ style: { textAlign: 'center' } },
|
|
10705
10705
|
children
|
|
@@ -10707,7 +10707,7 @@ var getSerializers = function getSerializers() {
|
|
|
10707
10707
|
},
|
|
10708
10708
|
alignjustify: function alignjustify(_ref26) {
|
|
10709
10709
|
var children = _ref26.children;
|
|
10710
|
-
return React__default[
|
|
10710
|
+
return React__default['default'].createElement(
|
|
10711
10711
|
'div',
|
|
10712
10712
|
{ style: { textAlign: 'justify' } },
|
|
10713
10713
|
children
|
|
@@ -10717,7 +10717,7 @@ var getSerializers = function getSerializers() {
|
|
|
10717
10717
|
var children = props.children,
|
|
10718
10718
|
color = props.mark.color;
|
|
10719
10719
|
|
|
10720
|
-
return React__default[
|
|
10720
|
+
return React__default['default'].createElement(
|
|
10721
10721
|
'span',
|
|
10722
10722
|
{ style: { color: color ? color.hex : null } },
|
|
10723
10723
|
children
|