@mjhls/mjh-framework 1.0.992-publication-test → 1.0.992-publication-test-v2
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/dist/cjs/AD.js +6 -6
- package/dist/cjs/AD300x250.js +5 -6
- package/dist/cjs/AD300x250x600.js +5 -6
- package/dist/cjs/AD728x90.js +6 -7
- package/dist/cjs/ADFloatingFooter.js +8 -9
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +8 -9
- package/dist/cjs/{ADInfeed-e87afe8a.js → ADInfeed-ef933a08.js} +5 -5
- package/dist/cjs/ADSkyscraper.js +8 -9
- package/dist/cjs/ADSponsoredResources.js +8 -9
- package/dist/cjs/ADWebcast.js +8 -9
- package/dist/cjs/ADWelcome.js +12 -13
- package/dist/cjs/{ADlgInfeed-b5a3d436.js → ADlgInfeed-0e931f24.js} +3 -3
- package/dist/cjs/AccordionPanel.js +17 -17
- package/dist/cjs/AdSlot.js +9 -10
- package/dist/cjs/AdSlotsProvider.js +5 -6
- package/dist/cjs/AlgoliaSearch.js +1451 -904
- package/dist/cjs/AlphabeticList.js +12 -12
- package/dist/cjs/ArticleCarousel.js +5 -5
- package/dist/cjs/ArticleProgramLandingPage.js +14 -15
- package/dist/cjs/ArticleSeriesLandingPage.js +11 -12
- package/dist/cjs/ArticleSeriesListing.js +29 -30
- package/dist/cjs/Auth.js +114 -85
- package/dist/cjs/AuthWrapper.js +113 -43
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-7d00f6d5.js} +9 -9
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-96b44364.js} +18 -18
- package/dist/cjs/Breadcrumbs.js +17 -17
- package/dist/cjs/CMEDeck.js +61 -62
- package/dist/cjs/Column1.js +7 -7
- package/dist/cjs/Column2.js +15 -15
- package/dist/cjs/Column3.js +27 -28
- package/dist/cjs/ConferenceArticleCard.js +12 -12
- package/dist/cjs/{ConferenceBanner-6c9e718a.js → ConferenceBanner-213003ce.js} +3 -3
- package/dist/cjs/ContentCardPaginated.js +49 -50
- package/dist/cjs/DeckContent.js +58 -59
- package/dist/cjs/DeckQueue.js +57 -58
- package/dist/cjs/DeckQueuePaginated.js +46 -47
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-67646058.js} +17 -18
- package/dist/cjs/EventsDeck.js +90 -90
- package/dist/cjs/ExternalResources.js +34 -35
- package/dist/cjs/Feature.js +17 -17
- package/dist/cjs/ForbesHero.js +25 -25
- package/dist/cjs/GridContent.js +134 -135
- package/dist/cjs/GridContentPaginated.js +121 -122
- package/dist/cjs/GridHero.js +26 -26
- package/dist/cjs/GroupDeck.js +33 -33
- package/dist/cjs/HamMagazine.js +105 -105
- package/dist/cjs/Header.js +9 -9
- package/dist/cjs/HealthCareProfessionalModal.js +17 -17
- package/dist/cjs/Hero.js +5 -5
- package/dist/cjs/HighlightenVideo.js +13 -13
- package/dist/cjs/HorizontalArticleListing.js +28 -29
- package/dist/cjs/HorizontalHero.js +17 -17
- package/dist/cjs/{ImageSlider-6c00b878.js → ImageSlider-1ec0408b.js} +212 -172
- package/dist/cjs/IssueContentDeck.js +49 -49
- package/dist/cjs/IssueDeck.js +48 -48
- package/dist/cjs/IssueLanding.js +19 -20
- package/dist/cjs/LeftNav.js +17 -18
- package/dist/cjs/MasterDeck.js +39 -40
- package/dist/cjs/MasterDeckPaginated.js +29 -30
- package/dist/cjs/{MediaSeriesCard-a9755b4a.js → MediaSeriesCard-d736ac47.js} +720 -637
- package/dist/cjs/MediaSeriesLanding.js +36 -37
- package/dist/cjs/MediaSeriesLandingPaginated.js +35 -36
- package/dist/cjs/NavDvm.js +57 -57
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-1fda6732.js} +11 -11
- package/dist/cjs/NavMagazine.js +106 -106
- package/dist/cjs/NavNative.js +97 -97
- package/dist/cjs/OncliveHero.js +11 -11
- package/dist/cjs/OncliveLargeHero.js +49 -49
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/{Pagination-2a3d0103.js → Pagination-6359861a.js} +13 -13
- package/dist/cjs/PartnerDetailListing.js +49 -51
- package/dist/cjs/PartnerDetailListingPaginated.js +45 -47
- 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 -14
- package/dist/cjs/PubToc.js +4 -4
- package/dist/cjs/PublicationDeck.js +44 -44
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-a989a2b3.js} +29 -29
- package/dist/cjs/PublicationLanding.js +73 -73
- package/dist/cjs/QueueDeckExpanded.js +245 -246
- package/dist/cjs/QueueDeckExpandedPaginated.js +222 -223
- package/dist/cjs/RecentNews.js +15 -15
- package/dist/cjs/RelatedContent.js +14 -14
- package/dist/cjs/RelatedTopicsDropdown.js +14 -14
- 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 -19
- package/dist/cjs/{SeriesSlider-594b19eb.js → SeriesSlider-18fc6e71.js} +22 -22
- package/dist/cjs/SideFooter.js +18 -18
- package/dist/cjs/SocialIcons.js +6 -6
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-bac7d6fa.js} +28 -28
- package/dist/cjs/SocialShare.js +25 -25
- package/dist/cjs/TaxonomyCard.js +44 -44
- package/dist/cjs/TaxonomyDescription.js +11 -12
- package/dist/cjs/TemplateNormal.js +27 -28
- 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 -29
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +5 -5
- package/dist/cjs/VideoSeriesLandingPage.js +11 -12
- package/dist/cjs/VideoSeriesListing.js +46 -47
- package/dist/cjs/View.js +221 -222
- package/dist/cjs/YahooHero.js +22 -22
- package/dist/cjs/YoutubeGroup.js +33 -33
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-4c7825a1.js} +2 -2
- package/dist/cjs/getQuery.js +3 -4
- package/dist/cjs/getSerializers.js +6 -7
- package/dist/cjs/iconBase-be4097c0.js +2 -4
- package/dist/cjs/{index-5e63adb9.js → index-0befb5fb.js} +481 -481
- package/dist/cjs/{index-eadd5035.js → index-65621b6c.js} +5 -5
- package/dist/cjs/{index-fc2f1ca2.js → index-7435b964.js} +471 -6
- package/dist/cjs/{index-f86bb269.js → index-96c331fd.js} +53 -52
- package/dist/cjs/index-b95410f0.js +54 -0
- package/dist/cjs/{index.es-f3e47207.js → index.es-1ab8dda7.js} +4 -4
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-70e78156.js} +14 -14
- package/dist/cjs/index.js +102 -105
- package/dist/cjs/{main-f1c77adb.js → main-6054981e.js} +17 -22
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-2c5c389a.js} +7 -7
- package/dist/cjs/ustream-api-3819e4aa.js +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-56020df6.js} +1 -1
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +2 -3
- package/dist/esm/AD300x250x600.js +2 -3
- package/dist/esm/AD728x90.js +2 -3
- package/dist/esm/ADFloatingFooter.js +2 -3
- package/dist/esm/ADGutter.js +2 -3
- package/dist/esm/ADSkyscraper.js +2 -3
- package/dist/esm/ADSponsoredResources.js +2 -3
- package/dist/esm/ADWebcast.js +2 -3
- package/dist/esm/ADWelcome.js +2 -3
- package/dist/esm/AdSlot.js +2 -3
- package/dist/esm/AdSlotsProvider.js +2 -3
- package/dist/esm/AlgoliaSearch.js +1065 -518
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +3 -4
- package/dist/esm/ArticleSeriesLandingPage.js +4 -5
- package/dist/esm/ArticleSeriesListing.js +2 -3
- package/dist/esm/Auth.js +40 -11
- package/dist/esm/AuthWrapper.js +86 -16
- package/dist/esm/CMEDeck.js +2 -3
- package/dist/esm/Column3.js +2 -3
- package/dist/esm/ContentCardPaginated.js +4 -5
- package/dist/esm/DeckContent.js +3 -4
- package/dist/esm/DeckQueue.js +2 -3
- package/dist/esm/DeckQueuePaginated.js +3 -4
- package/dist/esm/{Dfp-102f0beb.js → Dfp-cf85d203.js} +1 -2
- package/dist/esm/EventsDeck.js +2 -2
- package/dist/esm/ExternalResources.js +4 -5
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/GridContent.js +4 -5
- package/dist/esm/GridContentPaginated.js +5 -6
- package/dist/esm/HamMagazine.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +3 -4
- package/dist/esm/{ImageSlider-f84174cb.js → ImageSlider-83913c4c.js} +157 -117
- package/dist/esm/IssueLanding.js +5 -6
- package/dist/esm/LeftNav.js +2 -3
- package/dist/esm/MasterDeck.js +4 -5
- package/dist/esm/MasterDeckPaginated.js +5 -6
- package/dist/esm/{MediaSeriesCard-f68f8e63.js → MediaSeriesCard-3a4646ca.js} +151 -68
- package/dist/esm/MediaSeriesLanding.js +7 -8
- package/dist/esm/MediaSeriesLandingPaginated.js +8 -9
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/{Pagination-dc30727b.js → Pagination-9fe9f61d.js} +1 -1
- package/dist/esm/PartnerDetailListing.js +6 -8
- package/dist/esm/PartnerDetailListingPaginated.js +7 -9
- package/dist/esm/PubSection.js +4 -5
- package/dist/esm/QueueDeckExpanded.js +4 -5
- package/dist/esm/QueueDeckExpandedPaginated.js +5 -6
- package/dist/esm/SeriesListingDeck.js +3 -4
- package/dist/esm/{SeriesSlider-f771e20d.js → SeriesSlider-5728e349.js} +1 -1
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-c249903e.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +3 -4
- package/dist/esm/TemplateNormal.js +3 -4
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +3 -4
- package/dist/esm/VideoSeriesLandingPage.js +4 -5
- package/dist/esm/VideoSeriesListing.js +2 -3
- package/dist/esm/View.js +4 -5
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/getQuery.js +3 -4
- package/dist/esm/getSerializers.js +3 -4
- package/dist/esm/index-174b5baf.js +52 -0
- package/dist/esm/{index-79cfd25c.js → index-30a6257d.js} +53 -52
- package/dist/esm/{index-f0fc23eb.js → index-5cc7b406.js} +466 -1
- package/dist/esm/{index-e0aeabc5.js → index-eaa2c6b3.js} +2 -2
- package/dist/esm/index.js +10 -13
- package/dist/esm/{main-1894c974.js → main-9f6806ea.js} +4 -9
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/esm/{ADInfeed-5765a73a.js → ADInfeed-f946441a.js} +0 -0
- /package/dist/esm/{ADlgInfeed-5e36f317.js → ADlgInfeed-012e6f16.js} +0 -0
|
@@ -4,7 +4,7 @@ var React = require('react');
|
|
|
4
4
|
var slicedToArray = require('./slicedToArray-067dd3bc.js');
|
|
5
5
|
var reactBootstrap = require('react-bootstrap');
|
|
6
6
|
var urlFor = require('./urlFor.js');
|
|
7
|
-
var index = require('./index-
|
|
7
|
+
var index = require('./index-7435b964.js');
|
|
8
8
|
var Router = require('next/router');
|
|
9
9
|
var index$1 = require('./index-187c967e.js');
|
|
10
10
|
var PropTypes = require('prop-types');
|
|
@@ -12,14 +12,14 @@ var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
|
12
12
|
var util = require('./util-93a37fd0.js');
|
|
13
13
|
require('./Beam.js');
|
|
14
14
|
var Segment = require('./Segment.js');
|
|
15
|
-
var main = require('./main-
|
|
16
|
-
var BlockContent = require('./BlockContent-
|
|
15
|
+
var main = require('./main-6054981e.js');
|
|
16
|
+
var BlockContent = require('./BlockContent-96b44364.js');
|
|
17
17
|
var _extends = require('./extends-7c86182f.js');
|
|
18
18
|
var urlForFile = require('./urlForFile-29d3815a.js');
|
|
19
|
-
var index$2 = require('./index-
|
|
19
|
+
var index$2 = require('./index-65621b6c.js');
|
|
20
20
|
var asyncToGenerator = require('./asyncToGenerator-77821af0.js');
|
|
21
21
|
var _typeof$1 = require('./typeof-567e31ff.js');
|
|
22
|
-
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-
|
|
22
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-4c7825a1.js');
|
|
23
23
|
var stringify = require('./stringify-f7a37a8d.js');
|
|
24
24
|
var Modal = require('react-bootstrap/Modal');
|
|
25
25
|
var Button = require('react-bootstrap/Button');
|
|
@@ -65,7 +65,7 @@ var Popover__default = /*#__PURE__*/_interopDefaultLegacy(Popover);
|
|
|
65
65
|
var onChangeSlide = function onChangeSlide(selectedIndex, router) {
|
|
66
66
|
var pageNumber = selectedIndex + 1;
|
|
67
67
|
var href = '/view/' + router.query.url + '?page=' + pageNumber;
|
|
68
|
-
Router__default[
|
|
68
|
+
Router__default["default"].push(router.pathname, pageNumber > 1 ? href : '/view/' + router.query.url, { shallow: true });
|
|
69
69
|
};
|
|
70
70
|
|
|
71
71
|
var Slideshow$1 = function Slideshow(_ref) {
|
|
@@ -95,27 +95,27 @@ var Slideshow$1 = function Slideshow(_ref) {
|
|
|
95
95
|
if (pageview) pageview(router.asPath);
|
|
96
96
|
}, [router]);
|
|
97
97
|
|
|
98
|
-
return React__default[
|
|
98
|
+
return React__default["default"].createElement(
|
|
99
99
|
'div',
|
|
100
100
|
{ className: 'mt-3 mb-3' },
|
|
101
|
-
React__default[
|
|
101
|
+
React__default["default"].createElement(
|
|
102
102
|
reactBootstrap.Carousel,
|
|
103
103
|
{ activeIndex: carouselIndex, onSelect: function onSelect(selectedIndex, e) {
|
|
104
104
|
return onChangeSlide(selectedIndex, router);
|
|
105
105
|
}, interval: null },
|
|
106
106
|
slides && slides.map(function (slide) {
|
|
107
|
-
return React__default[
|
|
107
|
+
return React__default["default"].createElement(
|
|
108
108
|
reactBootstrap.Carousel.Item,
|
|
109
109
|
{ key: slide._key },
|
|
110
|
-
React__default[
|
|
110
|
+
React__default["default"].createElement(
|
|
111
111
|
'picture',
|
|
112
112
|
null,
|
|
113
|
-
React__default[
|
|
114
|
-
React__default[
|
|
115
|
-
React__default[
|
|
116
|
-
React__default[
|
|
113
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
114
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
115
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.asset, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
116
|
+
React__default["default"].createElement('img', { src: urlFor({ source: slide.asset, client: client }), alt: slide.alt || '', style: { width: '100%' } })
|
|
117
117
|
),
|
|
118
|
-
slide.caption && React__default[
|
|
118
|
+
slide.caption && React__default["default"].createElement(
|
|
119
119
|
'p',
|
|
120
120
|
{ className: 'p-2' },
|
|
121
121
|
slide.caption
|
|
@@ -1857,9 +1857,9 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1857
1857
|
}, {
|
|
1858
1858
|
key: "render",
|
|
1859
1859
|
value: function render() {
|
|
1860
|
-
return /*#__PURE__*/React__default[
|
|
1860
|
+
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1861
1861
|
className: this.props.containerClassName
|
|
1862
|
-
}, /*#__PURE__*/React__default[
|
|
1862
|
+
}, /*#__PURE__*/React__default["default"].createElement("div", {
|
|
1863
1863
|
id: this.props.id,
|
|
1864
1864
|
className: this.props.className,
|
|
1865
1865
|
ref: this.refContainer
|
|
@@ -1868,7 +1868,7 @@ var YouTube = /*#__PURE__*/function (_React$Component) {
|
|
|
1868
1868
|
}]);
|
|
1869
1869
|
|
|
1870
1870
|
return YouTube;
|
|
1871
|
-
}(React__default[
|
|
1871
|
+
}(React__default["default"].Component);
|
|
1872
1872
|
|
|
1873
1873
|
_defineProperty(YouTube, "PlayerState", {
|
|
1874
1874
|
UNSTARTED: -1,
|
|
@@ -1880,24 +1880,24 @@ _defineProperty(YouTube, "PlayerState", {
|
|
|
1880
1880
|
});
|
|
1881
1881
|
|
|
1882
1882
|
YouTube.propTypes = {
|
|
1883
|
-
videoId: PropTypes__default[
|
|
1883
|
+
videoId: PropTypes__default["default"].string,
|
|
1884
1884
|
// custom ID for player element
|
|
1885
|
-
id: PropTypes__default[
|
|
1885
|
+
id: PropTypes__default["default"].string,
|
|
1886
1886
|
// custom class name for player element
|
|
1887
|
-
className: PropTypes__default[
|
|
1887
|
+
className: PropTypes__default["default"].string,
|
|
1888
1888
|
// custom class name for player container element
|
|
1889
|
-
containerClassName: PropTypes__default[
|
|
1889
|
+
containerClassName: PropTypes__default["default"].string,
|
|
1890
1890
|
// https://developers.google.com/youtube/iframe_api_reference#Loading_a_Video_Player
|
|
1891
|
-
opts: PropTypes__default[
|
|
1891
|
+
opts: PropTypes__default["default"].objectOf(PropTypes__default["default"].any),
|
|
1892
1892
|
// event subscriptions
|
|
1893
|
-
onReady: PropTypes__default[
|
|
1894
|
-
onError: PropTypes__default[
|
|
1895
|
-
onPlay: PropTypes__default[
|
|
1896
|
-
onPause: PropTypes__default[
|
|
1897
|
-
onEnd: PropTypes__default[
|
|
1898
|
-
onStateChange: PropTypes__default[
|
|
1899
|
-
onPlaybackRateChange: PropTypes__default[
|
|
1900
|
-
onPlaybackQualityChange: PropTypes__default[
|
|
1893
|
+
onReady: PropTypes__default["default"].func,
|
|
1894
|
+
onError: PropTypes__default["default"].func,
|
|
1895
|
+
onPlay: PropTypes__default["default"].func,
|
|
1896
|
+
onPause: PropTypes__default["default"].func,
|
|
1897
|
+
onEnd: PropTypes__default["default"].func,
|
|
1898
|
+
onStateChange: PropTypes__default["default"].func,
|
|
1899
|
+
onPlaybackRateChange: PropTypes__default["default"].func,
|
|
1900
|
+
onPlaybackQualityChange: PropTypes__default["default"].func
|
|
1901
1901
|
};
|
|
1902
1902
|
YouTube.defaultProps = {
|
|
1903
1903
|
videoId: null,
|
|
@@ -2015,11 +2015,11 @@ var YouTubePlayer = function YouTubePlayer(_ref) {
|
|
|
2015
2015
|
Segment.report_video_event('Video Pause', main.main_18, duration, current, segment);
|
|
2016
2016
|
};
|
|
2017
2017
|
|
|
2018
|
-
return React__default[
|
|
2018
|
+
return React__default["default"].createElement(
|
|
2019
2019
|
'div',
|
|
2020
2020
|
{ id: 'fluid-video-container' },
|
|
2021
|
-
React__default[
|
|
2022
|
-
React__default[
|
|
2021
|
+
React__default["default"].createElement(YouTube, { className: 'fluid-iframe', videoId: id, opts: opts, onReady: handleOnReady, onPlay: handleOnPlay, onPause: handleOnPause, onEnd: handleOnEnd }),
|
|
2022
|
+
React__default["default"].createElement(
|
|
2023
2023
|
'style',
|
|
2024
2024
|
{ jsx: 'true' },
|
|
2025
2025
|
'\n #fluid-video-container {\n margin-bottom: 2rem;\n }\n #fluid-video-container > div {\n position: relative;\n padding-bottom: 56.25%; /* 16:9 */\n height: 0;\n }\n #fluid-video-container .fluid-iframe {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100% !important;\n }\n '
|
|
@@ -2032,20 +2032,20 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2032
2032
|
content = _ref.content,
|
|
2033
2033
|
getSerializers = _ref.getSerializers;
|
|
2034
2034
|
|
|
2035
|
-
return React__default[
|
|
2035
|
+
return React__default["default"].createElement(
|
|
2036
2036
|
'article',
|
|
2037
2037
|
{ className: 'sidebar' },
|
|
2038
|
-
React__default[
|
|
2038
|
+
React__default["default"].createElement(
|
|
2039
2039
|
'div',
|
|
2040
2040
|
null,
|
|
2041
|
-
React__default[
|
|
2041
|
+
React__default["default"].createElement(
|
|
2042
2042
|
'h3',
|
|
2043
2043
|
null,
|
|
2044
2044
|
caption
|
|
2045
2045
|
),
|
|
2046
|
-
React__default[
|
|
2046
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers })
|
|
2047
2047
|
),
|
|
2048
|
-
React__default[
|
|
2048
|
+
React__default["default"].createElement(
|
|
2049
2049
|
'style',
|
|
2050
2050
|
{ jsx: 'true' },
|
|
2051
2051
|
'\n .sidebar {\n clear: both;\n float: right;\n background-color: #eee;\n width: 40%;\n padding: 1rem;\n margin: 0 0 1rem 1rem;\n }\n /* resolving list items inside sidebar being shifted to center because of unusual margin */\n .sidebar ul {\n margin-left: 0;\n padding-left: 1rem;\n }\n @media screen and (max-width: 991px) {\n .sidebar {\n float: none;\n width: auto;\n margin: 1rem 0;\n }\n }\n '
|
|
@@ -2056,18 +2056,18 @@ var Sidebar = function Sidebar(_ref) {
|
|
|
2056
2056
|
var TableShow = function TableShow(_ref) {
|
|
2057
2057
|
var rows = _ref.rows;
|
|
2058
2058
|
|
|
2059
|
-
return React__default[
|
|
2059
|
+
return React__default["default"].createElement(
|
|
2060
2060
|
reactBootstrap.Table,
|
|
2061
2061
|
{ bordered: true, hover: true, responsive: true },
|
|
2062
|
-
React__default[
|
|
2062
|
+
React__default["default"].createElement(
|
|
2063
2063
|
'tbody',
|
|
2064
2064
|
null,
|
|
2065
2065
|
rows && rows.map(function (row) {
|
|
2066
|
-
return React__default[
|
|
2066
|
+
return React__default["default"].createElement(
|
|
2067
2067
|
'tr',
|
|
2068
2068
|
{ key: row._key },
|
|
2069
2069
|
row.cells && row.cells.map(function (cell, index) {
|
|
2070
|
-
return cell && React__default[
|
|
2070
|
+
return cell && React__default["default"].createElement(
|
|
2071
2071
|
'td',
|
|
2072
2072
|
{ key: index },
|
|
2073
2073
|
cell
|
|
@@ -2165,25 +2165,25 @@ var Media = function Media(_ref) {
|
|
|
2165
2165
|
margin: imageMargin
|
|
2166
2166
|
};
|
|
2167
2167
|
|
|
2168
|
-
return React__default[
|
|
2168
|
+
return React__default["default"].createElement(
|
|
2169
2169
|
reactBootstrap.Figure,
|
|
2170
2170
|
{ className: 'd-block ' + className, style: figureStyle },
|
|
2171
|
-
React__default[
|
|
2171
|
+
React__default["default"].createElement(
|
|
2172
2172
|
'a',
|
|
2173
2173
|
{ href: urlForFile.urlForFile({ asset: uploadDoc.asset }), target: blank ? '_blank' : '_self' },
|
|
2174
|
-
React__default[
|
|
2174
|
+
React__default["default"].createElement(
|
|
2175
2175
|
index$2.LazyLoad,
|
|
2176
2176
|
{ once: true },
|
|
2177
|
-
React__default[
|
|
2177
|
+
React__default["default"].createElement(
|
|
2178
2178
|
'picture',
|
|
2179
2179
|
null,
|
|
2180
|
-
React__default[
|
|
2181
|
-
React__default[
|
|
2182
|
-
React__default[
|
|
2183
|
-
React__default[
|
|
2180
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
2181
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
2182
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
2183
|
+
React__default["default"].createElement('img', _extends._extends({ className: 'media-image', style: { maxWidth: '100%' }, src: urlFor({ source: poster, client: client }) }, alt && { alt: alt }))
|
|
2184
2184
|
)
|
|
2185
2185
|
),
|
|
2186
|
-
caption && React__default[
|
|
2186
|
+
caption && React__default["default"].createElement(
|
|
2187
2187
|
reactBootstrap.Figure.Caption,
|
|
2188
2188
|
{ className: 'media-caption' },
|
|
2189
2189
|
caption
|
|
@@ -2191,7 +2191,7 @@ var Media = function Media(_ref) {
|
|
|
2191
2191
|
)
|
|
2192
2192
|
);
|
|
2193
2193
|
} else if (caption && caption !== '') {
|
|
2194
|
-
return React__default[
|
|
2194
|
+
return React__default["default"].createElement(
|
|
2195
2195
|
'a',
|
|
2196
2196
|
_extends._extends({}, uploadDoc.downloadMedia ? {
|
|
2197
2197
|
href: urlForFile.urlForFile({ asset: uploadDoc.asset }) + '?dl='
|
|
@@ -2211,10 +2211,10 @@ var IFrame = function IFrame(_ref) {
|
|
|
2211
2211
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
2212
2212
|
|
|
2213
2213
|
url = Segment.getURL(url, { needSegmentSupport: needSegmentSupport });
|
|
2214
|
-
return React__default[
|
|
2214
|
+
return React__default["default"].createElement(
|
|
2215
2215
|
'div',
|
|
2216
2216
|
{ className: 'd-block text-center mb-3' },
|
|
2217
|
-
React__default[
|
|
2217
|
+
React__default["default"].createElement('iframe', { className: 'w-100 iFrame-block', src: url, allowFullScreen: 'true', webkitallowfullscreen: 'true', mozallowfullscreen: 'true', frameBorder: '0' })
|
|
2218
2218
|
);
|
|
2219
2219
|
};
|
|
2220
2220
|
|
|
@@ -2224,7 +2224,7 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2224
2224
|
handlePollAnswer = _ref.handlePollAnswer;
|
|
2225
2225
|
|
|
2226
2226
|
var choiceArray = choices.map(function (choice) {
|
|
2227
|
-
return React__default[
|
|
2227
|
+
return React__default["default"].createElement(Form__default["default"].Check, {
|
|
2228
2228
|
inline: true,
|
|
2229
2229
|
label: choice.choiceText,
|
|
2230
2230
|
value: choice.choiceText,
|
|
@@ -2234,19 +2234,19 @@ var PopupMultiChoice = function PopupMultiChoice(_ref) {
|
|
|
2234
2234
|
onClick: handlePollAnswer
|
|
2235
2235
|
});
|
|
2236
2236
|
});
|
|
2237
|
-
return React__default[
|
|
2237
|
+
return React__default["default"].createElement(
|
|
2238
2238
|
'div',
|
|
2239
2239
|
{
|
|
2240
2240
|
key: 'inline-radio',
|
|
2241
2241
|
className: 'radioContainer' },
|
|
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 '
|
|
@@ -8466,34 +8466,34 @@ var Quiz = function Quiz(_ref) {
|
|
|
8466
8466
|
};
|
|
8467
8467
|
|
|
8468
8468
|
var renderPagination = function renderPagination() {
|
|
8469
|
-
return React__default[
|
|
8470
|
-
Pagination__default[
|
|
8469
|
+
return React__default["default"].createElement(
|
|
8470
|
+
Pagination__default["default"],
|
|
8471
8471
|
{ className: 'p-0 m-0', size: main.main_42 && 'sm' },
|
|
8472
|
-
React__default[
|
|
8472
|
+
React__default["default"].createElement(Pagination__default["default"].First, { onClick: function onClick() {
|
|
8473
8473
|
return changePage('first');
|
|
8474
8474
|
}, disabled: currentPage === 1 }),
|
|
8475
|
-
React__default[
|
|
8475
|
+
React__default["default"].createElement(Pagination__default["default"].Prev, { onClick: function onClick() {
|
|
8476
8476
|
return changePage('prev');
|
|
8477
8477
|
}, disabled: currentPage === 1 }),
|
|
8478
|
-
React__default[
|
|
8478
|
+
React__default["default"].createElement(Pagination__default["default"].Ellipsis, { onClick: function onClick() {
|
|
8479
8479
|
return renderNewPages('prev');
|
|
8480
8480
|
}, disabled: !validateIndex(startIndex - numberOfPaginations) }),
|
|
8481
8481
|
pages.map(function (page) {
|
|
8482
|
-
return React__default[
|
|
8483
|
-
Pagination__default[
|
|
8482
|
+
return React__default["default"].createElement(
|
|
8483
|
+
Pagination__default["default"].Item,
|
|
8484
8484
|
{ key: page, active: page === parseInt(currentPage), onClick: function onClick() {
|
|
8485
8485
|
return changePage(page);
|
|
8486
8486
|
} },
|
|
8487
8487
|
page
|
|
8488
8488
|
);
|
|
8489
8489
|
}),
|
|
8490
|
-
React__default[
|
|
8490
|
+
React__default["default"].createElement(Pagination__default["default"].Ellipsis, { onClick: function onClick() {
|
|
8491
8491
|
return renderNewPages('next');
|
|
8492
8492
|
}, disabled: !validateIndex(startIndex + numberOfPaginations) }),
|
|
8493
|
-
React__default[
|
|
8493
|
+
React__default["default"].createElement(Pagination__default["default"].Next, { onClick: function onClick() {
|
|
8494
8494
|
return changePage('next');
|
|
8495
8495
|
}, disabled: currentPage === pageCount }),
|
|
8496
|
-
React__default[
|
|
8496
|
+
React__default["default"].createElement(Pagination__default["default"].Last, { onClick: function onClick() {
|
|
8497
8497
|
return changePage('last');
|
|
8498
8498
|
}, disabled: currentPage === pageCount })
|
|
8499
8499
|
);
|
|
@@ -8604,49 +8604,49 @@ var Quiz = function Quiz(_ref) {
|
|
|
8604
8604
|
}
|
|
8605
8605
|
};
|
|
8606
8606
|
|
|
8607
|
-
return React__default[
|
|
8608
|
-
React__default[
|
|
8607
|
+
return React__default["default"].createElement(
|
|
8608
|
+
React__default["default"].Fragment,
|
|
8609
8609
|
null,
|
|
8610
|
-
quizzes[currentPage - 1] && React__default[
|
|
8611
|
-
React__default[
|
|
8610
|
+
quizzes[currentPage - 1] && React__default["default"].createElement(
|
|
8611
|
+
React__default["default"].Fragment,
|
|
8612
8612
|
null,
|
|
8613
|
-
React__default[
|
|
8614
|
-
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default[
|
|
8613
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].question, serializers: getSerializers }),
|
|
8614
|
+
quizzes[currentPage - 1].quizAnswers && quizzes[currentPage - 1].quizAnswers.length > 0 && React__default["default"].createElement(
|
|
8615
8615
|
'form',
|
|
8616
8616
|
{ ref: answersRef, onSubmit: function onSubmit(e) {
|
|
8617
8617
|
return e.preventDefault();
|
|
8618
8618
|
} },
|
|
8619
8619
|
quizzes[currentPage - 1].quizAnswers.map(function (answer, index) {
|
|
8620
|
-
return React__default[
|
|
8620
|
+
return React__default["default"].createElement(
|
|
8621
8621
|
'div',
|
|
8622
8622
|
{ key: answer._key },
|
|
8623
|
-
React__default[
|
|
8623
|
+
React__default["default"].createElement(
|
|
8624
8624
|
'label',
|
|
8625
8625
|
{ className: 'pl-2' },
|
|
8626
|
-
quizzes[currentPage - 1].multiAnswer ? React__default[
|
|
8626
|
+
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 }),
|
|
8627
8627
|
' ' + answer.answerText
|
|
8628
8628
|
)
|
|
8629
8629
|
);
|
|
8630
8630
|
})
|
|
8631
8631
|
)
|
|
8632
8632
|
),
|
|
8633
|
-
!showAnswer && React__default[
|
|
8634
|
-
Button__default[
|
|
8633
|
+
!showAnswer && React__default["default"].createElement(
|
|
8634
|
+
Button__default["default"],
|
|
8635
8635
|
{ onClick: function onClick(e) {
|
|
8636
8636
|
return checkAnswers(e);
|
|
8637
8637
|
}, variant: 'info', block: true },
|
|
8638
8638
|
'Please click here for answer'
|
|
8639
8639
|
),
|
|
8640
|
-
quizzes[currentPage - 1] && showAnswer && React__default[
|
|
8641
|
-
React__default[
|
|
8640
|
+
quizzes[currentPage - 1] && showAnswer && React__default["default"].createElement(
|
|
8641
|
+
React__default["default"].Fragment,
|
|
8642
8642
|
null,
|
|
8643
|
-
quizzes[currentPage - 1].answer && React__default[
|
|
8643
|
+
quizzes[currentPage - 1].answer && React__default["default"].createElement(BlockContent.BlockContent, { blocks: quizzes[currentPage - 1].answer, serializers: getSerializers })
|
|
8644
8644
|
),
|
|
8645
|
-
React__default[
|
|
8646
|
-
firstRender && React__default[
|
|
8647
|
-
React__default[
|
|
8645
|
+
React__default["default"].createElement('br', null),
|
|
8646
|
+
firstRender && React__default["default"].createElement(
|
|
8647
|
+
React__default["default"].Fragment,
|
|
8648
8648
|
null,
|
|
8649
|
-
pageCount > 1 && currentPage && React__default[
|
|
8649
|
+
pageCount > 1 && currentPage && React__default["default"].createElement(
|
|
8650
8650
|
'div',
|
|
8651
8651
|
{ className: 'd-flex justify-content-center' },
|
|
8652
8652
|
renderPagination()
|
|
@@ -8658,15 +8658,15 @@ var Quiz = function Quiz(_ref) {
|
|
|
8658
8658
|
var Leads = function Leads(_ref) {
|
|
8659
8659
|
var url = _ref.url;
|
|
8660
8660
|
|
|
8661
|
-
return React__default[
|
|
8661
|
+
return React__default["default"].createElement(
|
|
8662
8662
|
'div',
|
|
8663
8663
|
{ className: 'd-block text-center mb-3' },
|
|
8664
|
-
React__default[
|
|
8664
|
+
React__default["default"].createElement(
|
|
8665
8665
|
'style',
|
|
8666
8666
|
{ jsx: 'true' },
|
|
8667
8667
|
'\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 '
|
|
8668
8668
|
),
|
|
8669
|
-
url && React__default[
|
|
8669
|
+
url && React__default["default"].createElement('iframe', { className: 'w-100 h-100 leads-block', scrolling: 'no', src: url, frameBorder: '0', allow: 'fullscreen' })
|
|
8670
8670
|
);
|
|
8671
8671
|
};
|
|
8672
8672
|
|
|
@@ -8708,49 +8708,49 @@ var Slideshow = function Slideshow(_ref) {
|
|
|
8708
8708
|
if (pageview) pageview(href);
|
|
8709
8709
|
};
|
|
8710
8710
|
|
|
8711
|
-
return React__default[
|
|
8711
|
+
return React__default["default"].createElement(
|
|
8712
8712
|
'div',
|
|
8713
8713
|
{ className: 'mt-3 mb-4' },
|
|
8714
|
-
React__default[
|
|
8714
|
+
React__default["default"].createElement(
|
|
8715
8715
|
reactBootstrap.Carousel,
|
|
8716
8716
|
{ activeIndex: carouselIndex, onSelect: onChangeSlide, interval: null },
|
|
8717
8717
|
slides && slides.map(function (slide) {
|
|
8718
8718
|
if (slide.slideshowImage && slide.slideshowImage.asset) {
|
|
8719
|
-
return React__default[
|
|
8719
|
+
return React__default["default"].createElement(
|
|
8720
8720
|
reactBootstrap.Carousel.Item,
|
|
8721
8721
|
{ key: slide._key },
|
|
8722
|
-
React__default[
|
|
8722
|
+
React__default["default"].createElement(
|
|
8723
8723
|
'a',
|
|
8724
8724
|
{ href: slide.slideshowImage.link && slide.slideshowImage.link, target: slide.slideshowImage.blank ? '_blank' : '_self' },
|
|
8725
|
-
React__default[
|
|
8725
|
+
React__default["default"].createElement(
|
|
8726
8726
|
'div',
|
|
8727
8727
|
{ style: { textAlign: 'center' }, className: '' },
|
|
8728
|
-
React__default[
|
|
8728
|
+
React__default["default"].createElement(
|
|
8729
8729
|
'picture',
|
|
8730
8730
|
null,
|
|
8731
|
-
React__default[
|
|
8732
|
-
React__default[
|
|
8733
|
-
React__default[
|
|
8734
|
-
React__default[
|
|
8731
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8732
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8733
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: slide.slideshowImage, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8734
|
+
React__default["default"].createElement('img', { src: urlFor({ source: slide.slideshowImage, client: client }), alt: slide.slideshowImage.alt || 'slideshow image', className: 'embed-item-img' })
|
|
8735
8735
|
)
|
|
8736
8736
|
)
|
|
8737
8737
|
),
|
|
8738
|
-
React__default[
|
|
8738
|
+
React__default["default"].createElement(
|
|
8739
8739
|
'div',
|
|
8740
8740
|
{ className: 'p-2' },
|
|
8741
|
-
slide.slideshowImage.caption && React__default[
|
|
8741
|
+
slide.slideshowImage.caption && React__default["default"].createElement(
|
|
8742
8742
|
'h3',
|
|
8743
8743
|
{ style: { padding: '0px' } },
|
|
8744
8744
|
slide.slideshowImage.caption
|
|
8745
8745
|
),
|
|
8746
|
-
slide.description && React__default[
|
|
8746
|
+
slide.description && React__default["default"].createElement(BlockContent.BlockContent, { blocks: slide.description, serializers: getSerializers })
|
|
8747
8747
|
)
|
|
8748
8748
|
);
|
|
8749
8749
|
}
|
|
8750
8750
|
return null;
|
|
8751
8751
|
})
|
|
8752
8752
|
),
|
|
8753
|
-
React__default[
|
|
8753
|
+
React__default["default"].createElement(
|
|
8754
8754
|
'style',
|
|
8755
8755
|
{ jsx: 'true' },
|
|
8756
8756
|
'\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 '
|
|
@@ -8769,10 +8769,10 @@ var NativeAd = function NativeAd(props) {
|
|
|
8769
8769
|
sizes = _props$node.sizes,
|
|
8770
8770
|
sizeMapping = _props$node.sizeMapping;
|
|
8771
8771
|
|
|
8772
|
-
return React__default[
|
|
8772
|
+
return React__default["default"].createElement(
|
|
8773
8773
|
'div',
|
|
8774
8774
|
{ className: 'native-ad-wrapper', style: { textAlign: 'center' } },
|
|
8775
|
-
React__default[
|
|
8775
|
+
React__default["default"].createElement(AdSlot, { networkID: networkID, adUnit: adUnit, slotId: slotId, targeting: targeting, className: className, sizes: sizes, sizeMapping: sizeMapping })
|
|
8776
8776
|
);
|
|
8777
8777
|
};
|
|
8778
8778
|
|
|
@@ -8783,15 +8783,15 @@ var Formstack = function Formstack(_ref) {
|
|
|
8783
8783
|
needSegmentSupport = _ref$needSegmentSuppo === undefined ? false : _ref$needSegmentSuppo;
|
|
8784
8784
|
|
|
8785
8785
|
var url = Segment.getURL('https://mjhlifesciences.formstack.com/forms/' + FormID, { needSegmentSupport: needSegmentSupport });
|
|
8786
|
-
return React__default[
|
|
8786
|
+
return React__default["default"].createElement(
|
|
8787
8787
|
'section',
|
|
8788
8788
|
{ id: 'formstack-section', className: 'formstack-section' },
|
|
8789
|
-
Caption && React__default[
|
|
8789
|
+
Caption && React__default["default"].createElement(
|
|
8790
8790
|
'h4',
|
|
8791
8791
|
{ className: 'formstack-caption' },
|
|
8792
8792
|
Caption
|
|
8793
8793
|
),
|
|
8794
|
-
React__default[
|
|
8794
|
+
React__default["default"].createElement('iframe', { src: url, title: Caption || '', width: '100%', height: '600', frameBorder: '0' })
|
|
8795
8795
|
);
|
|
8796
8796
|
};
|
|
8797
8797
|
|
|
@@ -8807,36 +8807,36 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8807
8807
|
}
|
|
8808
8808
|
});
|
|
8809
8809
|
if (medias && medias.length > 0) {
|
|
8810
|
-
return React__default[
|
|
8810
|
+
return React__default["default"].createElement(
|
|
8811
8811
|
'div',
|
|
8812
8812
|
{ className: 'multi-media-container' },
|
|
8813
|
-
React__default[
|
|
8814
|
-
Row__default[
|
|
8813
|
+
React__default["default"].createElement(
|
|
8814
|
+
Row__default["default"],
|
|
8815
8815
|
{ noGutters: true },
|
|
8816
8816
|
medias.map(function (media) {
|
|
8817
|
-
return React__default[
|
|
8818
|
-
Col__default[
|
|
8817
|
+
return React__default["default"].createElement(
|
|
8818
|
+
Col__default["default"],
|
|
8819
8819
|
{ xs: 12, md: 12 / medias.length, key: media._key },
|
|
8820
|
-
React__default[
|
|
8820
|
+
React__default["default"].createElement(
|
|
8821
8821
|
'a',
|
|
8822
8822
|
_extends._extends({}, media.upload_doc && media.upload_doc.asset && { href: urlForFile.urlForFile({ asset: media.upload_doc.asset }), target: media.blank ? '_blank' : '_self' }, {
|
|
8823
8823
|
style: { cursor: media.upload_doc && media.upload_doc.asset && media.upload_doc.asset.url ? 'pointer' : 'default' } }),
|
|
8824
|
-
React__default[
|
|
8824
|
+
React__default["default"].createElement(
|
|
8825
8825
|
'div',
|
|
8826
8826
|
{ className: 'multi-media-image-container' },
|
|
8827
|
-
imageBox && React__default[
|
|
8827
|
+
imageBox && React__default["default"].createElement(
|
|
8828
8828
|
index$2.LazyLoad,
|
|
8829
8829
|
{ once: true },
|
|
8830
|
-
React__default[
|
|
8830
|
+
React__default["default"].createElement(
|
|
8831
8831
|
'picture',
|
|
8832
8832
|
null,
|
|
8833
|
-
React__default[
|
|
8834
|
-
React__default[
|
|
8835
|
-
React__default[
|
|
8836
|
-
React__default[
|
|
8833
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
8834
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
8835
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: media.poster, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
8836
|
+
React__default["default"].createElement('img', { 'images-count': medias.length, className: 'multi-media-image', src: urlFor({ source: media.poster, client: client }), alt: media.alt || '' })
|
|
8837
8837
|
)
|
|
8838
8838
|
),
|
|
8839
|
-
media.caption && React__default[
|
|
8839
|
+
media.caption && React__default["default"].createElement(
|
|
8840
8840
|
'span',
|
|
8841
8841
|
{ className: 'multi-media-caption' },
|
|
8842
8842
|
media.caption
|
|
@@ -8846,7 +8846,7 @@ var MultiMedia = function MultiMedia(props) {
|
|
|
8846
8846
|
);
|
|
8847
8847
|
})
|
|
8848
8848
|
),
|
|
8849
|
-
React__default[
|
|
8849
|
+
React__default["default"].createElement(
|
|
8850
8850
|
'style',
|
|
8851
8851
|
{ jsx: 'true' },
|
|
8852
8852
|
'\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 '
|
|
@@ -8893,7 +8893,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8893
8893
|
}
|
|
8894
8894
|
};
|
|
8895
8895
|
|
|
8896
|
-
_this.wraperRef = React__default[
|
|
8896
|
+
_this.wraperRef = React__default["default"].createRef();
|
|
8897
8897
|
_this.visible = false;
|
|
8898
8898
|
return _this;
|
|
8899
8899
|
}
|
|
@@ -8921,7 +8921,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8921
8921
|
_props$id = _props.id,
|
|
8922
8922
|
id = _props$id === undefined ? '' : _props$id;
|
|
8923
8923
|
|
|
8924
|
-
return React__default[
|
|
8924
|
+
return React__default["default"].createElement(
|
|
8925
8925
|
'div',
|
|
8926
8926
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
8927
8927
|
this.props.children
|
|
@@ -8930,7 +8930,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
8930
8930
|
}]);
|
|
8931
8931
|
|
|
8932
8932
|
return InscreenSensor;
|
|
8933
|
-
}(React__default[
|
|
8933
|
+
}(React__default["default"].Component);
|
|
8934
8934
|
|
|
8935
8935
|
var ArticleSeries = function ArticleSeries(_ref) {
|
|
8936
8936
|
var nodes = _ref.nodes,
|
|
@@ -9041,33 +9041,33 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9041
9041
|
if (!article || !article.is_visible && article.hasOwnProperty('is_visible') || today < article.published) return null;
|
|
9042
9042
|
var showReading = show ? 'showReading' : '';
|
|
9043
9043
|
var articleLabel = articles.length == 1 && articleNum != 0 || articles.length > 1 && index == 0 ? 'Previous' : 'Next';
|
|
9044
|
-
return React__default[
|
|
9044
|
+
return React__default["default"].createElement(
|
|
9045
9045
|
'div',
|
|
9046
9046
|
{ key: article.title + '_' + index, className: 'prevNextCards' },
|
|
9047
|
-
React__default[
|
|
9047
|
+
React__default["default"].createElement(
|
|
9048
9048
|
'a',
|
|
9049
9049
|
{ onClick: function onClick(e) {
|
|
9050
9050
|
return articleCardClickHandler(e);
|
|
9051
9051
|
}, 'data-cardlabel': '' + articleLabel, 'data-articleindex': '' + index, 'data-articleid': '' + article.param.current },
|
|
9052
|
-
React__default[
|
|
9052
|
+
React__default["default"].createElement(
|
|
9053
9053
|
'div',
|
|
9054
9054
|
{ className: 'prevNext-thumbnail' },
|
|
9055
|
-
React__default[
|
|
9056
|
-
React__default[
|
|
9055
|
+
React__default["default"].createElement('img', { src: urlFor({ client: client, source: article.thumbnail.asset }) }),
|
|
9056
|
+
React__default["default"].createElement(
|
|
9057
9057
|
'div',
|
|
9058
9058
|
{ className: 'prevNext-reading ' + showReading },
|
|
9059
9059
|
articleLabel
|
|
9060
9060
|
)
|
|
9061
9061
|
),
|
|
9062
|
-
React__default[
|
|
9062
|
+
React__default["default"].createElement(
|
|
9063
9063
|
'div',
|
|
9064
9064
|
{ className: 'prevNext-summary' },
|
|
9065
|
-
React__default[
|
|
9065
|
+
React__default["default"].createElement(
|
|
9066
9066
|
'div',
|
|
9067
9067
|
{ className: 'prevNext-publishDate' },
|
|
9068
9068
|
moment.moment(article.published).format('LL')
|
|
9069
9069
|
),
|
|
9070
|
-
React__default[
|
|
9070
|
+
React__default["default"].createElement(
|
|
9071
9071
|
'h2',
|
|
9072
9072
|
{ className: 'prevNext-title' },
|
|
9073
9073
|
article.title
|
|
@@ -9116,7 +9116,7 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9116
9116
|
|
|
9117
9117
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
9118
9118
|
if (biography) {
|
|
9119
|
-
return React__default[
|
|
9119
|
+
return React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ serializers: getSerializers, blocks: [biography] }, client.config()));
|
|
9120
9120
|
}
|
|
9121
9121
|
};
|
|
9122
9122
|
|
|
@@ -9274,40 +9274,40 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9274
9274
|
setSensorVisible(false);
|
|
9275
9275
|
};
|
|
9276
9276
|
|
|
9277
|
-
return React__default[
|
|
9278
|
-
React__default[
|
|
9277
|
+
return React__default["default"].createElement(
|
|
9278
|
+
React__default["default"].Fragment,
|
|
9279
9279
|
null,
|
|
9280
|
-
React__default[
|
|
9280
|
+
React__default["default"].createElement(
|
|
9281
9281
|
'div',
|
|
9282
9282
|
{ ref: arrowRef, className: 'scrollToTopArrow' },
|
|
9283
|
-
React__default[
|
|
9283
|
+
React__default["default"].createElement(index_esm.IoIosArrowDropupCircle, { style: { cursor: 'pointer' }, onClick: function onClick() {
|
|
9284
9284
|
return handleArrowClick();
|
|
9285
9285
|
} })
|
|
9286
9286
|
),
|
|
9287
|
-
React__default[
|
|
9288
|
-
React__default[
|
|
9287
|
+
React__default["default"].createElement('hr', { className: 'article-seperater my-4' }),
|
|
9288
|
+
React__default["default"].createElement(
|
|
9289
9289
|
'div',
|
|
9290
9290
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9291
|
-
React__default[
|
|
9291
|
+
React__default["default"].createElement(
|
|
9292
9292
|
'h5',
|
|
9293
9293
|
{ className: 'objective-title' },
|
|
9294
9294
|
nodes.seriesTitle
|
|
9295
9295
|
),
|
|
9296
|
-
React__default[
|
|
9296
|
+
React__default["default"].createElement(
|
|
9297
9297
|
'div',
|
|
9298
9298
|
{ className: 'prevNextWrapper' },
|
|
9299
9299
|
PrevNextCards(false, -1)
|
|
9300
9300
|
)
|
|
9301
9301
|
),
|
|
9302
|
-
React__default[
|
|
9303
|
-
React__default[
|
|
9302
|
+
React__default["default"].createElement('hr', { className: 'article-seperater' }),
|
|
9303
|
+
React__default["default"].createElement(
|
|
9304
9304
|
'div',
|
|
9305
9305
|
{ ref: articleContainerRef, className: 'article-container', style: { marginBottom: '2rem' } },
|
|
9306
9306
|
Articles.map(function (article, index) {
|
|
9307
|
-
return React__default[
|
|
9307
|
+
return React__default["default"].createElement(
|
|
9308
9308
|
'div',
|
|
9309
9309
|
{ key: article.title },
|
|
9310
|
-
React__default[
|
|
9310
|
+
React__default["default"].createElement(
|
|
9311
9311
|
InscreenSensor,
|
|
9312
9312
|
{
|
|
9313
9313
|
visible: sensorVisible,
|
|
@@ -9325,82 +9325,82 @@ var ArticleSeries = function ArticleSeries(_ref) {
|
|
|
9325
9325
|
}
|
|
9326
9326
|
}
|
|
9327
9327
|
} },
|
|
9328
|
-
React__default[
|
|
9329
|
-
Head__default[
|
|
9328
|
+
React__default["default"].createElement(
|
|
9329
|
+
Head__default["default"],
|
|
9330
9330
|
null,
|
|
9331
|
-
currentTitle !== null && React__default[
|
|
9331
|
+
currentTitle !== null && React__default["default"].createElement(
|
|
9332
9332
|
'title',
|
|
9333
9333
|
{ key: 'title' },
|
|
9334
9334
|
currentTitle
|
|
9335
9335
|
),
|
|
9336
|
-
currentSummary !== null && React__default[
|
|
9337
|
-
currentURL !== null && React__default[
|
|
9338
|
-
currentTitle !== null && React__default[
|
|
9339
|
-
currentThumbnail !== null && React__default[
|
|
9340
|
-
currentSummary !== null && React__default[
|
|
9341
|
-
currentTitle !== null && React__default[
|
|
9342
|
-
currentThumbnail !== null && React__default[
|
|
9343
|
-
currentSummary !== null && React__default[
|
|
9336
|
+
currentSummary !== null && React__default["default"].createElement('meta', { name: 'description', key: 'description', content: currentSummary }),
|
|
9337
|
+
currentURL !== null && React__default["default"].createElement('meta', { property: 'og:url', content: currentURL, key: 'og:url' }),
|
|
9338
|
+
currentTitle !== null && React__default["default"].createElement('meta', { property: 'og:title', content: currentTitle, key: 'og:title' }),
|
|
9339
|
+
currentThumbnail !== null && React__default["default"].createElement('meta', { property: 'og:image', content: currentThumbnail, key: 'og:image' }),
|
|
9340
|
+
currentSummary !== null && React__default["default"].createElement('meta', { property: 'og:description', content: currentSummary, key: 'og:description' }),
|
|
9341
|
+
currentTitle !== null && React__default["default"].createElement('meta', { name: 'twitter:title', content: currentTitle, key: 'twitter:title' }),
|
|
9342
|
+
currentThumbnail !== null && React__default["default"].createElement('meta', { name: 'twitter:image', content: currentThumbnail, key: 'twitter:image' }),
|
|
9343
|
+
currentSummary !== null && React__default["default"].createElement('meta', { name: 'twitter:description', content: currentSummary, key: 'twitter:description' })
|
|
9344
9344
|
),
|
|
9345
|
-
React__default[
|
|
9345
|
+
React__default["default"].createElement(
|
|
9346
9346
|
'article',
|
|
9347
9347
|
{ className: 'article-wrapper' },
|
|
9348
|
-
React__default[
|
|
9348
|
+
React__default["default"].createElement(
|
|
9349
9349
|
'div',
|
|
9350
9350
|
{ className: 'article-publishDate' },
|
|
9351
9351
|
moment.moment(article.published).format('LL')
|
|
9352
9352
|
),
|
|
9353
|
-
React__default[
|
|
9353
|
+
React__default["default"].createElement(
|
|
9354
9354
|
'div',
|
|
9355
9355
|
{ className: 'author-details-wrapper' },
|
|
9356
9356
|
article.authorDetails && article.authorDetails.map(function (authorDetail, index) {
|
|
9357
|
-
return React__default[
|
|
9357
|
+
return React__default["default"].createElement(
|
|
9358
9358
|
'span',
|
|
9359
9359
|
{ key: index },
|
|
9360
9360
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, article.authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: client, source: authorDetail.profileImage }))
|
|
9361
9361
|
);
|
|
9362
9362
|
})
|
|
9363
9363
|
),
|
|
9364
|
-
React__default[
|
|
9364
|
+
React__default["default"].createElement(
|
|
9365
9365
|
'h2',
|
|
9366
9366
|
{ className: 'article-title' },
|
|
9367
9367
|
article.title
|
|
9368
9368
|
),
|
|
9369
|
-
React__default[
|
|
9369
|
+
React__default["default"].createElement(
|
|
9370
9370
|
'div',
|
|
9371
9371
|
{ className: 'mt-2 mb-2' },
|
|
9372
|
-
React__default[
|
|
9372
|
+
React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({
|
|
9373
9373
|
serializers: getSerializers,
|
|
9374
9374
|
videoAccountIDs: accountIDs,
|
|
9375
9375
|
blocks: article.text,
|
|
9376
9376
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
9377
9377
|
}, client.config())),
|
|
9378
|
-
React__default[
|
|
9378
|
+
React__default["default"].createElement('hr', { className: 'article-seperater my-4' })
|
|
9379
9379
|
),
|
|
9380
|
-
Articles.length > 1 && React__default[
|
|
9381
|
-
React__default[
|
|
9380
|
+
Articles.length > 1 && React__default["default"].createElement(
|
|
9381
|
+
React__default["default"].Fragment,
|
|
9382
9382
|
null,
|
|
9383
|
-
React__default[
|
|
9383
|
+
React__default["default"].createElement(
|
|
9384
9384
|
'div',
|
|
9385
9385
|
{ className: 'objective-prevNext-Wrapper' },
|
|
9386
|
-
React__default[
|
|
9386
|
+
React__default["default"].createElement(
|
|
9387
9387
|
'h5',
|
|
9388
9388
|
{ className: 'objective-title' },
|
|
9389
9389
|
nodes.seriesTitle
|
|
9390
9390
|
),
|
|
9391
|
-
React__default[
|
|
9391
|
+
React__default["default"].createElement(
|
|
9392
9392
|
'div',
|
|
9393
9393
|
{ className: 'prevNextWrapper' },
|
|
9394
9394
|
PrevNextCards(true, index)
|
|
9395
9395
|
)
|
|
9396
9396
|
),
|
|
9397
|
-
React__default[
|
|
9397
|
+
React__default["default"].createElement('hr', { className: 'article-seperater' })
|
|
9398
9398
|
)
|
|
9399
9399
|
)
|
|
9400
9400
|
)
|
|
9401
9401
|
);
|
|
9402
9402
|
}),
|
|
9403
|
-
React__default[
|
|
9403
|
+
React__default["default"].createElement(
|
|
9404
9404
|
'style',
|
|
9405
9405
|
{ jsx: 'true' },
|
|
9406
9406
|
'\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 '
|
|
@@ -9430,11 +9430,11 @@ var LightBox = function LightBox(_ref) {
|
|
|
9430
9430
|
};
|
|
9431
9431
|
}, [handleClickOutside]);
|
|
9432
9432
|
|
|
9433
|
-
return React__default[
|
|
9433
|
+
return React__default["default"].createElement(
|
|
9434
9434
|
'div',
|
|
9435
9435
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (showLightbox ? 'open' : 'close') },
|
|
9436
|
-
React__default[
|
|
9437
|
-
React__default[
|
|
9436
|
+
React__default["default"].createElement('img', { ref: lightboxImage, src: lightboxImgSrc }),
|
|
9437
|
+
React__default["default"].createElement(
|
|
9438
9438
|
'style',
|
|
9439
9439
|
{ jsx: 'true' },
|
|
9440
9440
|
'\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 '
|
|
@@ -9448,7 +9448,7 @@ var compareProps = function compareProps(prevProps, nextProps) {
|
|
|
9448
9448
|
}
|
|
9449
9449
|
};
|
|
9450
9450
|
|
|
9451
|
-
var FigureImage$1 = React__default[
|
|
9451
|
+
var FigureImage$1 = React__default["default"].memo(function (_ref2) {
|
|
9452
9452
|
var node = _ref2.node,
|
|
9453
9453
|
client = _ref2.client,
|
|
9454
9454
|
imgAlt = _ref2.imgAlt,
|
|
@@ -9456,13 +9456,13 @@ var FigureImage$1 = React__default['default'].memo(function (_ref2) {
|
|
|
9456
9456
|
handleClickFigure = _ref2.handleClickFigure;
|
|
9457
9457
|
|
|
9458
9458
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9459
|
-
return React__default[
|
|
9459
|
+
return React__default["default"].createElement(
|
|
9460
9460
|
'picture',
|
|
9461
9461
|
null,
|
|
9462
|
-
React__default[
|
|
9463
|
-
React__default[
|
|
9464
|
-
React__default[
|
|
9465
|
-
React__default[
|
|
9462
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9463
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9464
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9465
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9466
9466
|
style: figureImageStyle,
|
|
9467
9467
|
className: 'figure-image',
|
|
9468
9468
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9513,30 +9513,30 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9513
9513
|
|
|
9514
9514
|
var renderTooltip = function renderTooltip(props) {
|
|
9515
9515
|
if (infoBox[0].title) {
|
|
9516
|
-
return React__default[
|
|
9517
|
-
Popover__default[
|
|
9516
|
+
return React__default["default"].createElement(
|
|
9517
|
+
Popover__default["default"],
|
|
9518
9518
|
{ id: 'popover-basic-' + infoBox[0].title },
|
|
9519
|
-
React__default[
|
|
9520
|
-
Popover__default[
|
|
9519
|
+
React__default["default"].createElement(
|
|
9520
|
+
Popover__default["default"].Title,
|
|
9521
9521
|
{ as: 'h3' },
|
|
9522
9522
|
infoBox[0].title
|
|
9523
9523
|
),
|
|
9524
|
-
React__default[
|
|
9525
|
-
Popover__default[
|
|
9524
|
+
React__default["default"].createElement(
|
|
9525
|
+
Popover__default["default"].Content,
|
|
9526
9526
|
null,
|
|
9527
|
-
React__default[
|
|
9527
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9528
9528
|
)
|
|
9529
9529
|
);
|
|
9530
9530
|
} else {
|
|
9531
|
-
return React__default[
|
|
9532
|
-
Tooltip__default[
|
|
9531
|
+
return React__default["default"].createElement(
|
|
9532
|
+
Tooltip__default["default"],
|
|
9533
9533
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9534
|
-
React__default[
|
|
9534
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: infoBox[0].infoText, serializers: getSerializers })
|
|
9535
9535
|
);
|
|
9536
9536
|
}
|
|
9537
9537
|
};
|
|
9538
9538
|
|
|
9539
|
-
var FigureImageWOverLay = React__default[
|
|
9539
|
+
var FigureImageWOverLay = React__default["default"].memo(function (_ref3) {
|
|
9540
9540
|
var node = _ref3.node,
|
|
9541
9541
|
client = _ref3.client,
|
|
9542
9542
|
imgAlt = _ref3.imgAlt,
|
|
@@ -9546,13 +9546,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9546
9546
|
var figureImageStyle = link ? { maxWidth: '100%' } : { maxWidth: '100%', cursor: 'pointer', width: 'auto' };
|
|
9547
9547
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9548
9548
|
var placementLocation = main.main_42 ? 'top' : infoBox[0].alignment ? infoBox[0].alignment : 'right';
|
|
9549
|
-
return React__default[
|
|
9549
|
+
return React__default["default"].createElement(
|
|
9550
9550
|
'picture',
|
|
9551
9551
|
null,
|
|
9552
|
-
React__default[
|
|
9553
|
-
React__default[
|
|
9554
|
-
React__default[
|
|
9555
|
-
main.main_42 && link ? React__default[
|
|
9552
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9553
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9554
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: node, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9555
|
+
main.main_42 && link ? React__default["default"].createElement('img', _extends._extends({
|
|
9556
9556
|
style: figureImageStyle,
|
|
9557
9557
|
className: 'figure-image',
|
|
9558
9558
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9561,10 +9561,10 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9561
9561
|
onClick: function onClick() {
|
|
9562
9562
|
return handleClickFigure(node, client);
|
|
9563
9563
|
}
|
|
9564
|
-
})) : React__default[
|
|
9565
|
-
OverlayTrigger__default[
|
|
9564
|
+
})) : React__default["default"].createElement(
|
|
9565
|
+
OverlayTrigger__default["default"],
|
|
9566
9566
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip() },
|
|
9567
|
-
React__default[
|
|
9567
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9568
9568
|
style: figureImageStyle,
|
|
9569
9569
|
className: 'figure-image',
|
|
9570
9570
|
src: urlFor({ source: node, client: client }),
|
|
@@ -9618,13 +9618,13 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9618
9618
|
|
|
9619
9619
|
var FigureCaption = React.useCallback(function () {
|
|
9620
9620
|
if (imgcaption && imgcaption.length > 0) {
|
|
9621
|
-
return React__default[
|
|
9621
|
+
return React__default["default"].createElement(
|
|
9622
9622
|
'div',
|
|
9623
9623
|
{ className: 'figure-caption' },
|
|
9624
|
-
React__default[
|
|
9624
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9625
9625
|
);
|
|
9626
9626
|
} else if (caption) {
|
|
9627
|
-
return React__default[
|
|
9627
|
+
return React__default["default"].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'figure-caption\'>' + caption + '</span>' } });
|
|
9628
9628
|
} else return null;
|
|
9629
9629
|
}, [caption, imgcaption]);
|
|
9630
9630
|
|
|
@@ -9641,24 +9641,24 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9641
9641
|
setShowLightbox(true);
|
|
9642
9642
|
}, [node, client]);
|
|
9643
9643
|
|
|
9644
|
-
return React__default[
|
|
9645
|
-
React__default[
|
|
9644
|
+
return React__default["default"].createElement(
|
|
9645
|
+
React__default["default"].Fragment,
|
|
9646
9646
|
null,
|
|
9647
|
-
infoBox.length >= 1 ? React__default[
|
|
9648
|
-
Figure__default[
|
|
9647
|
+
infoBox.length >= 1 ? React__default["default"].createElement(
|
|
9648
|
+
Figure__default["default"],
|
|
9649
9649
|
{ className: '' + class_name, style: figureStyle },
|
|
9650
|
-
link ? React__default[
|
|
9650
|
+
link ? React__default["default"].createElement(
|
|
9651
9651
|
'a',
|
|
9652
9652
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9653
|
-
React__default[
|
|
9654
|
-
React__default[
|
|
9655
|
-
) : React__default[
|
|
9656
|
-
React__default[
|
|
9653
|
+
React__default["default"].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9654
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9655
|
+
) : React__default["default"].createElement(
|
|
9656
|
+
React__default["default"].Fragment,
|
|
9657
9657
|
null,
|
|
9658
|
-
React__default[
|
|
9659
|
-
React__default[
|
|
9658
|
+
React__default["default"].createElement(FigureImageWOverLay, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9659
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9660
9660
|
),
|
|
9661
|
-
React__default[
|
|
9661
|
+
React__default["default"].createElement(LightBox, {
|
|
9662
9662
|
showLightbox: showLightbox,
|
|
9663
9663
|
lightboxImgSrc: lightboxImgSrc,
|
|
9664
9664
|
closeLightbox: function closeLightbox() {
|
|
@@ -9666,21 +9666,21 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9666
9666
|
setShowLightbox(false);
|
|
9667
9667
|
}
|
|
9668
9668
|
})
|
|
9669
|
-
) : React__default[
|
|
9670
|
-
Figure__default[
|
|
9669
|
+
) : React__default["default"].createElement(
|
|
9670
|
+
Figure__default["default"],
|
|
9671
9671
|
{ className: '' + class_name, style: figureStyle },
|
|
9672
|
-
link ? React__default[
|
|
9672
|
+
link ? React__default["default"].createElement(
|
|
9673
9673
|
'a',
|
|
9674
9674
|
{ target: blank ? '_blank' : '_self', href: link },
|
|
9675
|
-
React__default[
|
|
9676
|
-
React__default[
|
|
9677
|
-
) : React__default[
|
|
9678
|
-
React__default[
|
|
9675
|
+
React__default["default"].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, link: link }),
|
|
9676
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9677
|
+
) : React__default["default"].createElement(
|
|
9678
|
+
React__default["default"].Fragment,
|
|
9679
9679
|
null,
|
|
9680
|
-
React__default[
|
|
9681
|
-
React__default[
|
|
9680
|
+
React__default["default"].createElement(FigureImage$1, { node: node, client: client, imgAlt: alt, handleClickFigure: handleClickFigure }),
|
|
9681
|
+
React__default["default"].createElement(FigureCaption, null)
|
|
9682
9682
|
),
|
|
9683
|
-
React__default[
|
|
9683
|
+
React__default["default"].createElement(LightBox, {
|
|
9684
9684
|
showLightbox: showLightbox,
|
|
9685
9685
|
lightboxImgSrc: lightboxImgSrc,
|
|
9686
9686
|
closeLightbox: function closeLightbox() {
|
|
@@ -9689,7 +9689,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9689
9689
|
}
|
|
9690
9690
|
})
|
|
9691
9691
|
),
|
|
9692
|
-
React__default[
|
|
9692
|
+
React__default["default"].createElement(
|
|
9693
9693
|
'style',
|
|
9694
9694
|
{ jsx: 'true' },
|
|
9695
9695
|
'\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 '
|
|
@@ -9697,7 +9697,7 @@ var FigureComponent = function FigureComponent(props) {
|
|
|
9697
9697
|
);
|
|
9698
9698
|
};
|
|
9699
9699
|
|
|
9700
|
-
var Figure = React__default[
|
|
9700
|
+
var Figure = React__default["default"].memo(FigureComponent, compareProps);
|
|
9701
9701
|
|
|
9702
9702
|
function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
9703
9703
|
React.useEffect(function () {
|
|
@@ -9714,7 +9714,7 @@ function useOutsideAlerter(ref, container, setOpenImg, setOpenImgSrc) {
|
|
|
9714
9714
|
}, [ref]);
|
|
9715
9715
|
}
|
|
9716
9716
|
|
|
9717
|
-
var FigureImage = React__default[
|
|
9717
|
+
var FigureImage = React__default["default"].memo(function (_ref) {
|
|
9718
9718
|
var imagesCount = _ref.imagesCount,
|
|
9719
9719
|
image = _ref.image,
|
|
9720
9720
|
client = _ref.client,
|
|
@@ -9722,13 +9722,13 @@ var FigureImage = React__default['default'].memo(function (_ref) {
|
|
|
9722
9722
|
link = _ref.link,
|
|
9723
9723
|
handleClickFigure = _ref.handleClickFigure;
|
|
9724
9724
|
|
|
9725
|
-
return React__default[
|
|
9725
|
+
return React__default["default"].createElement(
|
|
9726
9726
|
'picture',
|
|
9727
9727
|
null,
|
|
9728
|
-
React__default[
|
|
9729
|
-
React__default[
|
|
9730
|
-
React__default[
|
|
9731
|
-
React__default[
|
|
9728
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9729
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9730
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9731
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9732
9732
|
'images-count': imagesCount,
|
|
9733
9733
|
className: 'multi-figure-image',
|
|
9734
9734
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9765,13 +9765,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9765
9765
|
imgcaption = _ref2.imgcaption;
|
|
9766
9766
|
|
|
9767
9767
|
if (imgcaption && imgcaption.length > 0) {
|
|
9768
|
-
return React__default[
|
|
9768
|
+
return React__default["default"].createElement(
|
|
9769
9769
|
'div',
|
|
9770
9770
|
{ className: 'multi-figure-caption' },
|
|
9771
|
-
React__default[
|
|
9771
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: imgcaption, serializers: getSerializers })
|
|
9772
9772
|
);
|
|
9773
9773
|
} else if (caption) {
|
|
9774
|
-
return React__default[
|
|
9774
|
+
return React__default["default"].createElement('div', { dangerouslySetInnerHTML: { __html: '<span class=\'multi-figure-caption\'>' + caption + '</span>' } });
|
|
9775
9775
|
} else return null;
|
|
9776
9776
|
};
|
|
9777
9777
|
|
|
@@ -9780,7 +9780,7 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9780
9780
|
setOpenImg(true);
|
|
9781
9781
|
}, [client]);
|
|
9782
9782
|
|
|
9783
|
-
var FigureImageWOverLay = React__default[
|
|
9783
|
+
var FigureImageWOverLay = React__default["default"].memo(function (_ref3) {
|
|
9784
9784
|
var imagesCount = _ref3.imagesCount,
|
|
9785
9785
|
image = _ref3.image,
|
|
9786
9786
|
client = _ref3.client,
|
|
@@ -9790,13 +9790,13 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9790
9790
|
|
|
9791
9791
|
var triggerAction = main.main_42 ? 'click' : 'hover';
|
|
9792
9792
|
var placementLocation = main.main_42 ? 'top' : image.infoBox[0] ? image.infoBox[0].alignment : 'right';
|
|
9793
|
-
return React__default[
|
|
9793
|
+
return React__default["default"].createElement(
|
|
9794
9794
|
'picture',
|
|
9795
9795
|
null,
|
|
9796
|
-
React__default[
|
|
9797
|
-
React__default[
|
|
9798
|
-
React__default[
|
|
9799
|
-
main.main_42 && link ? React__default[
|
|
9796
|
+
React__default["default"].createElement('source', { media: '(min-width: 1200px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1500, imageFit: 'max' }) }),
|
|
9797
|
+
React__default["default"].createElement('source', { media: '(min-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 1000, imageFit: 'max' }) }),
|
|
9798
|
+
React__default["default"].createElement('source', { media: '(max-width: 600px)', srcSet: urlFor({ source: image, client: client, imageWidth: 500, imageFit: 'max' }) }),
|
|
9799
|
+
main.main_42 && link ? React__default["default"].createElement('img', _extends._extends({
|
|
9800
9800
|
'images-count': imagesCount,
|
|
9801
9801
|
className: 'multi-figure-image',
|
|
9802
9802
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9805,10 +9805,10 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9805
9805
|
onClick: function onClick() {
|
|
9806
9806
|
return handleClickFigure(image, client);
|
|
9807
9807
|
}
|
|
9808
|
-
})) : React__default[
|
|
9809
|
-
OverlayTrigger__default[
|
|
9808
|
+
})) : React__default["default"].createElement(
|
|
9809
|
+
OverlayTrigger__default["default"],
|
|
9810
9810
|
{ trigger: triggerAction, placement: placementLocation, delay: { show: 250, hide: 400 }, overlay: renderTooltip(image) },
|
|
9811
|
-
React__default[
|
|
9811
|
+
React__default["default"].createElement('img', _extends._extends({
|
|
9812
9812
|
'images-count': imagesCount,
|
|
9813
9813
|
className: 'multi-figure-image',
|
|
9814
9814
|
src: urlFor({ source: image, client: client }),
|
|
@@ -9824,102 +9824,102 @@ var MultiFigure = function MultiFigure(props) {
|
|
|
9824
9824
|
|
|
9825
9825
|
var renderTooltip = function renderTooltip(image) {
|
|
9826
9826
|
if (image.infoBox[0].title) {
|
|
9827
|
-
return React__default[
|
|
9828
|
-
Popover__default[
|
|
9827
|
+
return React__default["default"].createElement(
|
|
9828
|
+
Popover__default["default"],
|
|
9829
9829
|
{ id: 'popover-basic-' + image.infoBox[0].title },
|
|
9830
|
-
React__default[
|
|
9831
|
-
Popover__default[
|
|
9830
|
+
React__default["default"].createElement(
|
|
9831
|
+
Popover__default["default"].Title,
|
|
9832
9832
|
{ as: 'h3' },
|
|
9833
9833
|
image.infoBox[0].title
|
|
9834
9834
|
),
|
|
9835
|
-
React__default[
|
|
9836
|
-
Popover__default[
|
|
9835
|
+
React__default["default"].createElement(
|
|
9836
|
+
Popover__default["default"].Content,
|
|
9837
9837
|
null,
|
|
9838
|
-
React__default[
|
|
9838
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9839
9839
|
)
|
|
9840
9840
|
);
|
|
9841
9841
|
} else {
|
|
9842
|
-
return React__default[
|
|
9843
|
-
Tooltip__default[
|
|
9842
|
+
return React__default["default"].createElement(
|
|
9843
|
+
Tooltip__default["default"],
|
|
9844
9844
|
_extends._extends({ id: 'button-tooltip' }, props),
|
|
9845
|
-
React__default[
|
|
9845
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: image.infoBox[0].infoText, serializers: getSerializers })
|
|
9846
9846
|
);
|
|
9847
9847
|
}
|
|
9848
9848
|
};
|
|
9849
9849
|
|
|
9850
9850
|
if (images && images.length > 0) {
|
|
9851
|
-
return React__default[
|
|
9851
|
+
return React__default["default"].createElement(
|
|
9852
9852
|
'div',
|
|
9853
9853
|
{ className: 'multi-figure-container' },
|
|
9854
|
-
React__default[
|
|
9855
|
-
Row__default[
|
|
9854
|
+
React__default["default"].createElement(
|
|
9855
|
+
Row__default["default"],
|
|
9856
9856
|
{ noGutters: true, style: { alignItems: 'center' } },
|
|
9857
9857
|
images.map(function (image, index) {
|
|
9858
9858
|
if (image.infoBox) {
|
|
9859
|
-
return React__default[
|
|
9860
|
-
Col__default[
|
|
9859
|
+
return React__default["default"].createElement(
|
|
9860
|
+
Col__default["default"],
|
|
9861
9861
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9862
|
-
image.link ? React__default[
|
|
9862
|
+
image.link ? React__default["default"].createElement(
|
|
9863
9863
|
'a',
|
|
9864
9864
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9865
|
-
React__default[
|
|
9865
|
+
React__default["default"].createElement(
|
|
9866
9866
|
'div',
|
|
9867
9867
|
{ className: 'multi-figure-image-container' },
|
|
9868
|
-
React__default[
|
|
9868
|
+
React__default["default"].createElement(
|
|
9869
9869
|
index$2.LazyLoad,
|
|
9870
9870
|
{ once: true },
|
|
9871
|
-
React__default[
|
|
9871
|
+
React__default["default"].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9872
9872
|
),
|
|
9873
|
-
React__default[
|
|
9873
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9874
9874
|
)
|
|
9875
|
-
) : React__default[
|
|
9875
|
+
) : React__default["default"].createElement(
|
|
9876
9876
|
'div',
|
|
9877
9877
|
{ className: 'multi-figure-image-container' },
|
|
9878
|
-
React__default[
|
|
9878
|
+
React__default["default"].createElement(
|
|
9879
9879
|
index$2.LazyLoad,
|
|
9880
9880
|
{ once: true },
|
|
9881
|
-
React__default[
|
|
9881
|
+
React__default["default"].createElement(FigureImageWOverLay, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9882
9882
|
),
|
|
9883
|
-
React__default[
|
|
9883
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9884
9884
|
)
|
|
9885
9885
|
);
|
|
9886
9886
|
} else {
|
|
9887
|
-
return React__default[
|
|
9888
|
-
Col__default[
|
|
9887
|
+
return React__default["default"].createElement(
|
|
9888
|
+
Col__default["default"],
|
|
9889
9889
|
{ xs: 12, md: 12 / images.length, key: index },
|
|
9890
|
-
image.link ? React__default[
|
|
9890
|
+
image.link ? React__default["default"].createElement(
|
|
9891
9891
|
'a',
|
|
9892
9892
|
_extends._extends({}, image.link && { href: image.link, target: image.blank ? '_blank' : '_self' }, { style: { cursor: image.link ? 'pointer' : 'default' } }),
|
|
9893
|
-
React__default[
|
|
9893
|
+
React__default["default"].createElement(
|
|
9894
9894
|
'div',
|
|
9895
9895
|
{ className: 'multi-figure-image-container' },
|
|
9896
|
-
React__default[
|
|
9896
|
+
React__default["default"].createElement(
|
|
9897
9897
|
index$2.LazyLoad,
|
|
9898
9898
|
{ once: true },
|
|
9899
|
-
React__default[
|
|
9899
|
+
React__default["default"].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, link: image.link })
|
|
9900
9900
|
),
|
|
9901
|
-
React__default[
|
|
9901
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9902
9902
|
)
|
|
9903
|
-
) : React__default[
|
|
9903
|
+
) : React__default["default"].createElement(
|
|
9904
9904
|
'div',
|
|
9905
9905
|
{ className: 'multi-figure-image-container' },
|
|
9906
|
-
React__default[
|
|
9906
|
+
React__default["default"].createElement(
|
|
9907
9907
|
index$2.LazyLoad,
|
|
9908
9908
|
{ once: true },
|
|
9909
|
-
React__default[
|
|
9909
|
+
React__default["default"].createElement(FigureImage, { imagesCount: images.length, image: image, client: client, imgAlt: image.alt, handleClickFigure: handleClickFigure })
|
|
9910
9910
|
),
|
|
9911
|
-
React__default[
|
|
9911
|
+
React__default["default"].createElement(FigureCaption, { caption: image.caption, imgcaption: image.imgcaption })
|
|
9912
9912
|
)
|
|
9913
9913
|
);
|
|
9914
9914
|
}
|
|
9915
9915
|
})
|
|
9916
9916
|
),
|
|
9917
|
-
React__default[
|
|
9917
|
+
React__default["default"].createElement(
|
|
9918
9918
|
'div',
|
|
9919
9919
|
{ ref: lightboxContainer, className: 'lightbox-target ' + (openImg ? 'open' : 'close') },
|
|
9920
|
-
React__default[
|
|
9920
|
+
React__default["default"].createElement('img', { ref: lightboxImage, src: openImgSrc })
|
|
9921
9921
|
),
|
|
9922
|
-
React__default[
|
|
9922
|
+
React__default["default"].createElement(
|
|
9923
9923
|
'style',
|
|
9924
9924
|
{ jsx: 'true' },
|
|
9925
9925
|
'\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 '
|
|
@@ -9968,23 +9968,23 @@ var AnchorLinkElement = function AnchorLinkElement(props) {
|
|
|
9968
9968
|
if (hambergerNav) setOffsetHeight(hambergerNav.offsetHeight);else if (header) setOffsetHeight(header.offsetHeight);
|
|
9969
9969
|
}, []);
|
|
9970
9970
|
|
|
9971
|
-
return React__default[
|
|
9972
|
-
React__default[
|
|
9971
|
+
return React__default["default"].createElement(
|
|
9972
|
+
React__default["default"].Fragment,
|
|
9973
9973
|
null,
|
|
9974
|
-
React__default[
|
|
9975
|
-
Head__default[
|
|
9974
|
+
React__default["default"].createElement(
|
|
9975
|
+
Head__default["default"],
|
|
9976
9976
|
null,
|
|
9977
|
-
React__default[
|
|
9977
|
+
React__default["default"].createElement('script', {
|
|
9978
9978
|
dangerouslySetInnerHTML: {
|
|
9979
9979
|
__html: 'history.scrollRestoration = "manual"'
|
|
9980
9980
|
}
|
|
9981
9981
|
})
|
|
9982
9982
|
),
|
|
9983
|
-
React__default[
|
|
9983
|
+
React__default["default"].createElement(
|
|
9984
9984
|
'div',
|
|
9985
9985
|
{ id: elementId },
|
|
9986
|
-
React__default[
|
|
9987
|
-
React__default[
|
|
9986
|
+
React__default["default"].createElement(BlockContent.BlockContent, { blocks: content, serializers: getSerializers }),
|
|
9987
|
+
React__default["default"].createElement(
|
|
9988
9988
|
'style',
|
|
9989
9989
|
{ jsx: 'true' },
|
|
9990
9990
|
'\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 '
|
|
@@ -10038,11 +10038,11 @@ var _inherits3 = _interopRequireDefault(inherits.inherits);
|
|
|
10038
10038
|
|
|
10039
10039
|
|
|
10040
10040
|
|
|
10041
|
-
var _react2 = _interopRequireDefault(React__default[
|
|
10041
|
+
var _react2 = _interopRequireDefault(React__default["default"]);
|
|
10042
10042
|
|
|
10043
10043
|
|
|
10044
10044
|
|
|
10045
|
-
var _propTypes2 = _interopRequireDefault(PropTypes__default[
|
|
10045
|
+
var _propTypes2 = _interopRequireDefault(PropTypes__default["default"]);
|
|
10046
10046
|
|
|
10047
10047
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
10048
10048
|
var noop = function noop() {};
|
|
@@ -10197,7 +10197,7 @@ var ScriptTag = function (_Component) {
|
|
|
10197
10197
|
};
|
|
10198
10198
|
|
|
10199
10199
|
return ScriptTag;
|
|
10200
|
-
}(React__default[
|
|
10200
|
+
}(React__default["default"].Component);
|
|
10201
10201
|
|
|
10202
10202
|
ScriptTag.propTypes = {
|
|
10203
10203
|
/**
|
|
@@ -10289,11 +10289,11 @@ var FormAssembly = function FormAssembly(props) {
|
|
|
10289
10289
|
}, [anonymousID]);
|
|
10290
10290
|
|
|
10291
10291
|
if (iframeSrc) {
|
|
10292
|
-
return React__default[
|
|
10292
|
+
return React__default["default"].createElement(
|
|
10293
10293
|
'section',
|
|
10294
10294
|
{ className: 'form-assembly' },
|
|
10295
|
-
iframeSrc && React__default[
|
|
10296
|
-
React__default[
|
|
10295
|
+
iframeSrc && React__default["default"].createElement('iframe', { src: iframeSrc, height: '800', width: '100%', frameBorder: '0' }),
|
|
10296
|
+
React__default["default"].createElement(ScriptTag, { type: 'text/javascript', src: '//' + enterpriseDomainName + '.tfaforms.net/js/iframe_resize_helper.js', async: true })
|
|
10297
10297
|
);
|
|
10298
10298
|
}
|
|
10299
10299
|
|
|
@@ -10330,27 +10330,27 @@ var BlockTable = function BlockTable(props) {
|
|
|
10330
10330
|
return window.removeEventListener('resize', handleResize);
|
|
10331
10331
|
};
|
|
10332
10332
|
}, []);
|
|
10333
|
-
return React__default[
|
|
10333
|
+
return React__default["default"].createElement(
|
|
10334
10334
|
'div',
|
|
10335
10335
|
{ className: 'blockTableHolder', ref: holder },
|
|
10336
|
-
React__default[
|
|
10336
|
+
React__default["default"].createElement(
|
|
10337
10337
|
'div',
|
|
10338
10338
|
{ className: 'blockTable' },
|
|
10339
10339
|
rows && rows.map(function (row) {
|
|
10340
|
-
return React__default[
|
|
10340
|
+
return React__default["default"].createElement(
|
|
10341
10341
|
'div',
|
|
10342
10342
|
{ className: 'blockTableRow' },
|
|
10343
10343
|
row.cells && row.cells.map(function (cell) {
|
|
10344
|
-
return React__default[
|
|
10344
|
+
return React__default["default"].createElement(
|
|
10345
10345
|
'div',
|
|
10346
10346
|
{ className: 'blockTableCell', style: { width: (100 / row.cells.length).toFixed(2) + '%' } },
|
|
10347
|
-
React__default[
|
|
10347
|
+
React__default["default"].createElement(BlockContent.BlockContent, _extends._extends({ blocks: cell.content, serializers: getSerializers }, client.config()))
|
|
10348
10348
|
);
|
|
10349
10349
|
})
|
|
10350
10350
|
);
|
|
10351
10351
|
})
|
|
10352
10352
|
),
|
|
10353
|
-
React__default[
|
|
10353
|
+
React__default["default"].createElement(
|
|
10354
10354
|
'style',
|
|
10355
10355
|
{ jsx: true },
|
|
10356
10356
|
'\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 '
|
|
@@ -10364,7 +10364,7 @@ var DigiohSmartTag = function DigiohSmartTag(props) {
|
|
|
10364
10364
|
_props$node.needSegmentSupport;
|
|
10365
10365
|
|
|
10366
10366
|
|
|
10367
|
-
return React__default[
|
|
10367
|
+
return React__default["default"].createElement('div', { id: FormID });
|
|
10368
10368
|
};
|
|
10369
10369
|
|
|
10370
10370
|
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'];
|
|
@@ -10433,7 +10433,7 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10433
10433
|
if (href && href.charAt(0) === '#') {
|
|
10434
10434
|
var elementId = href.slice(1);
|
|
10435
10435
|
if (articleId) elementId = elementId + '-' + articleId;
|
|
10436
|
-
return React__default[
|
|
10436
|
+
return React__default["default"].createElement(
|
|
10437
10437
|
'a',
|
|
10438
10438
|
{ onClick: function onClick() {
|
|
10439
10439
|
return ScrollToElement(elementId);
|
|
@@ -10443,11 +10443,11 @@ var ExternalLink = function ExternalLink(props) {
|
|
|
10443
10443
|
}
|
|
10444
10444
|
|
|
10445
10445
|
var linkRel = (href && checkNoFollow(href, nofollow)) + ' ' + (href && blank && !checkBaseUrl(href) ? 'noreferrer noopener' : '');
|
|
10446
|
-
return href ? linkRel.trim().length > 0 ? React__default[
|
|
10446
|
+
return href ? linkRel.trim().length > 0 ? React__default["default"].createElement(
|
|
10447
10447
|
'a',
|
|
10448
10448
|
_extends._extends({ rel: linkRel.trim(), href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10449
10449
|
children
|
|
10450
|
-
) : React__default[
|
|
10450
|
+
) : React__default["default"].createElement(
|
|
10451
10451
|
'a',
|
|
10452
10452
|
_extends._extends({ href: isExernalUrl ? href : '/' + href, target: blank ? '_blank' : '_self' }, color && color.hex && { style: { color: color.hex } }),
|
|
10453
10453
|
children
|
|
@@ -10512,12 +10512,12 @@ var getSerializers = function getSerializers() {
|
|
|
10512
10512
|
var node = _ref.node;
|
|
10513
10513
|
var url = node.url;
|
|
10514
10514
|
|
|
10515
|
-
return React__default[
|
|
10515
|
+
return React__default["default"].createElement(YouTubePlayer, { autoplay: autoplay, url: url });
|
|
10516
10516
|
},
|
|
10517
10517
|
youtubeGallery: function youtubeGallery(_ref2) {
|
|
10518
10518
|
var node = _ref2.node;
|
|
10519
10519
|
|
|
10520
|
-
return React__default[
|
|
10520
|
+
return React__default["default"].createElement(YouTubeGallery, {
|
|
10521
10521
|
nodes: node,
|
|
10522
10522
|
article: article,
|
|
10523
10523
|
meta: meta,
|
|
@@ -10531,7 +10531,7 @@ var getSerializers = function getSerializers() {
|
|
|
10531
10531
|
articleSeries: function articleSeries(_ref3) {
|
|
10532
10532
|
var node = _ref3.node;
|
|
10533
10533
|
|
|
10534
|
-
return React__default[
|
|
10534
|
+
return React__default["default"].createElement(ArticleSeries, {
|
|
10535
10535
|
nodes: node,
|
|
10536
10536
|
accountIDs: videoAccountIDs || {},
|
|
10537
10537
|
pageview: pageview,
|
|
@@ -10544,61 +10544,61 @@ var getSerializers = function getSerializers() {
|
|
|
10544
10544
|
figure: function figure(_ref4) {
|
|
10545
10545
|
var node = _ref4.node;
|
|
10546
10546
|
|
|
10547
|
-
return React__default[
|
|
10547
|
+
return React__default["default"].createElement(Figure, { node: node, client: client, contextualADFlag: contextualADFlag, getSerializers: getSerializers.apply(undefined, props) });
|
|
10548
10548
|
},
|
|
10549
10549
|
multifigure: function multifigure(_ref5) {
|
|
10550
10550
|
var node = _ref5.node;
|
|
10551
10551
|
|
|
10552
|
-
return React__default[
|
|
10552
|
+
return React__default["default"].createElement(MultiFigure, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10553
10553
|
},
|
|
10554
10554
|
slideshow: function slideshow(_ref6) {
|
|
10555
10555
|
var node = _ref6.node;
|
|
10556
10556
|
var slides = node.slides;
|
|
10557
10557
|
|
|
10558
|
-
return React__default[
|
|
10558
|
+
return React__default["default"].createElement(Slideshow$1, { slides: slides, client: client, pageview: pageview });
|
|
10559
10559
|
},
|
|
10560
10560
|
sidebar: function sidebar(_ref7) {
|
|
10561
10561
|
var node = _ref7.node;
|
|
10562
10562
|
var caption = node.caption,
|
|
10563
10563
|
content = node.content;
|
|
10564
10564
|
|
|
10565
|
-
return React__default[
|
|
10565
|
+
return React__default["default"].createElement(Sidebar, { caption: caption, content: content, getSerializers: getSerializers.apply(undefined, props) });
|
|
10566
10566
|
},
|
|
10567
10567
|
datatable: function datatable(_ref8) {
|
|
10568
10568
|
var node = _ref8.node;
|
|
10569
10569
|
var table = node.table;
|
|
10570
10570
|
|
|
10571
|
-
return React__default[
|
|
10571
|
+
return React__default["default"].createElement(TableShow, { rows: table.rows });
|
|
10572
10572
|
},
|
|
10573
10573
|
media: function media(_ref9) {
|
|
10574
10574
|
var node = _ref9.node;
|
|
10575
10575
|
|
|
10576
|
-
return React__default[
|
|
10576
|
+
return React__default["default"].createElement(Media, { node: node, client: client });
|
|
10577
10577
|
},
|
|
10578
10578
|
iframe: function iframe(_ref10) {
|
|
10579
10579
|
var node = _ref10.node;
|
|
10580
10580
|
|
|
10581
|
-
return React__default[
|
|
10581
|
+
return React__default["default"].createElement(IFrame, { url: node.url, needSegmentSupport: node.needSegmentSupport });
|
|
10582
10582
|
},
|
|
10583
10583
|
video: function video(_ref11) {
|
|
10584
10584
|
var node = _ref11.node;
|
|
10585
10585
|
|
|
10586
|
-
return React__default[
|
|
10586
|
+
return React__default["default"].createElement(Video, { node: node, autoplay: autoplay, accountIDs: videoAccountIDs || {}, targeting: targeting, nextVideo: nextVideo });
|
|
10587
10587
|
},
|
|
10588
10588
|
audio: function audio(_ref12) {
|
|
10589
10589
|
var node = _ref12.node;
|
|
10590
10590
|
|
|
10591
|
-
return React__default[
|
|
10591
|
+
return React__default["default"].createElement(Audio, { node: node, audioAutoplay: audioAutoplay });
|
|
10592
10592
|
},
|
|
10593
10593
|
poll: function poll(_ref13) {
|
|
10594
10594
|
var node = _ref13.node;
|
|
10595
10595
|
|
|
10596
|
-
return React__default[
|
|
10596
|
+
return React__default["default"].createElement(Poll$1, { node: node, client: client, pageview: pageview, videoAccountIDs: videoAccountIDs, showVotes: showVotes, onVote: onVote, getSerializers: getSerializers.apply(undefined, props) });
|
|
10597
10597
|
},
|
|
10598
10598
|
pollMultiChoice: function pollMultiChoice(_ref14) {
|
|
10599
10599
|
var node = _ref14.node;
|
|
10600
10600
|
|
|
10601
|
-
return React__default[
|
|
10601
|
+
return React__default["default"].createElement(Poll, {
|
|
10602
10602
|
node: node,
|
|
10603
10603
|
client: client,
|
|
10604
10604
|
pageview: pageview,
|
|
@@ -10612,35 +10612,35 @@ var getSerializers = function getSerializers() {
|
|
|
10612
10612
|
var node = _ref15.node;
|
|
10613
10613
|
var quizzes = node.quizzes;
|
|
10614
10614
|
|
|
10615
|
-
return React__default[
|
|
10615
|
+
return React__default["default"].createElement(Quiz, { quizzes: quizzes, getSerializers: getSerializers.apply(undefined, props), pageview: pageview, currentPage: currentPage });
|
|
10616
10616
|
},
|
|
10617
10617
|
leads: function leads(_ref16) {
|
|
10618
10618
|
var node = _ref16.node;
|
|
10619
10619
|
var leadID = node.leadID;
|
|
10620
10620
|
|
|
10621
10621
|
var url = '' + drupalLeadSettings.baseUrl + leadID;
|
|
10622
|
-
return React__default[
|
|
10622
|
+
return React__default["default"].createElement(Leads, { url: url });
|
|
10623
10623
|
},
|
|
10624
10624
|
slideshows: function slideshows(_ref17) {
|
|
10625
10625
|
var node = _ref17.node;
|
|
10626
10626
|
|
|
10627
|
-
return React__default[
|
|
10627
|
+
return React__default["default"].createElement(Slideshow, { node: node, client: client, pageview: pageview, getSerializers: getSerializers.apply(undefined, props) });
|
|
10628
10628
|
},
|
|
10629
10629
|
nativeAd: function nativeAd(_ref18) {
|
|
10630
10630
|
var node = _ref18.node;
|
|
10631
10631
|
|
|
10632
|
-
return React__default[
|
|
10632
|
+
return React__default["default"].createElement(NativeAd, { node: node });
|
|
10633
10633
|
},
|
|
10634
10634
|
html_anchor_links: function html_anchor_links(_ref19) {
|
|
10635
10635
|
var node = _ref19.node;
|
|
10636
10636
|
|
|
10637
|
-
return React__default[
|
|
10637
|
+
return React__default["default"].createElement(AnchorLinkElement, { node: node, getSerializers: getSerializers.apply(undefined, props), articleId: articleId });
|
|
10638
10638
|
},
|
|
10639
10639
|
hrtag: function hrtag() {
|
|
10640
|
-
return React__default[
|
|
10640
|
+
return React__default["default"].createElement('hr', { style: { border: 'none', height: '2px', backgroundColor: 'var(--primary)', color: 'var(--primary)' }, className: 'horizontal-rule' });
|
|
10641
10641
|
},
|
|
10642
10642
|
brtag: function brtag() {
|
|
10643
|
-
return React__default[
|
|
10643
|
+
return React__default["default"].createElement('br', { className: 'line-break' });
|
|
10644
10644
|
},
|
|
10645
10645
|
formstack: function formstack(_ref20) {
|
|
10646
10646
|
var node = _ref20.node;
|
|
@@ -10648,30 +10648,30 @@ var getSerializers = function getSerializers() {
|
|
|
10648
10648
|
Caption = node.Caption,
|
|
10649
10649
|
needSegmentSupport = node.needSegmentSupport;
|
|
10650
10650
|
|
|
10651
|
-
return React__default[
|
|
10651
|
+
return React__default["default"].createElement(Formstack, { FormID: FormID, Caption: Caption, needSegmentSupport: needSegmentSupport });
|
|
10652
10652
|
},
|
|
10653
10653
|
formassembly: FormAssembly,
|
|
10654
10654
|
digiohSmartTag: DigiohSmartTag,
|
|
10655
10655
|
multimedia: function multimedia(_ref21) {
|
|
10656
10656
|
var node = _ref21.node;
|
|
10657
10657
|
|
|
10658
|
-
return React__default[
|
|
10658
|
+
return React__default["default"].createElement(MultiMedia, { node: node, client: client });
|
|
10659
10659
|
},
|
|
10660
10660
|
blockTable: function blockTable(_ref22) {
|
|
10661
10661
|
var node = _ref22.node;
|
|
10662
|
-
return React__default[
|
|
10662
|
+
return React__default["default"].createElement(BlockTable, { node: node, client: client, getSerializers: getSerializers.apply(undefined, props) });
|
|
10663
10663
|
}
|
|
10664
10664
|
},
|
|
10665
10665
|
marks: {
|
|
10666
10666
|
superscript: function superscript(props) {
|
|
10667
|
-
return React__default[
|
|
10667
|
+
return React__default["default"].createElement(
|
|
10668
10668
|
'sup',
|
|
10669
10669
|
null,
|
|
10670
10670
|
props.children
|
|
10671
10671
|
);
|
|
10672
10672
|
},
|
|
10673
10673
|
subscript: function subscript(props) {
|
|
10674
|
-
return React__default[
|
|
10674
|
+
return React__default["default"].createElement(
|
|
10675
10675
|
'sub',
|
|
10676
10676
|
null,
|
|
10677
10677
|
props.children
|
|
@@ -10681,11 +10681,11 @@ var getSerializers = function getSerializers() {
|
|
|
10681
10681
|
var children = props.children,
|
|
10682
10682
|
mark = props.mark;
|
|
10683
10683
|
|
|
10684
|
-
return React__default[
|
|
10684
|
+
return React__default["default"].createElement(ExternalLink, { children: children, mark: mark, articleId: articleId });
|
|
10685
10685
|
},
|
|
10686
10686
|
alignleft: function alignleft(_ref23) {
|
|
10687
10687
|
var children = _ref23.children;
|
|
10688
|
-
return React__default[
|
|
10688
|
+
return React__default["default"].createElement(
|
|
10689
10689
|
'div',
|
|
10690
10690
|
{ style: { textAlign: 'left' } },
|
|
10691
10691
|
children
|
|
@@ -10693,7 +10693,7 @@ var getSerializers = function getSerializers() {
|
|
|
10693
10693
|
},
|
|
10694
10694
|
alignright: function alignright(_ref24) {
|
|
10695
10695
|
var children = _ref24.children;
|
|
10696
|
-
return React__default[
|
|
10696
|
+
return React__default["default"].createElement(
|
|
10697
10697
|
'div',
|
|
10698
10698
|
{ style: { textAlign: 'right' } },
|
|
10699
10699
|
children
|
|
@@ -10701,7 +10701,7 @@ var getSerializers = function getSerializers() {
|
|
|
10701
10701
|
},
|
|
10702
10702
|
aligncenter: function aligncenter(_ref25) {
|
|
10703
10703
|
var children = _ref25.children;
|
|
10704
|
-
return React__default[
|
|
10704
|
+
return React__default["default"].createElement(
|
|
10705
10705
|
'div',
|
|
10706
10706
|
{ style: { textAlign: 'center' } },
|
|
10707
10707
|
children
|
|
@@ -10709,7 +10709,7 @@ var getSerializers = function getSerializers() {
|
|
|
10709
10709
|
},
|
|
10710
10710
|
alignjustify: function alignjustify(_ref26) {
|
|
10711
10711
|
var children = _ref26.children;
|
|
10712
|
-
return React__default[
|
|
10712
|
+
return React__default["default"].createElement(
|
|
10713
10713
|
'div',
|
|
10714
10714
|
{ style: { textAlign: 'justify' } },
|
|
10715
10715
|
children
|
|
@@ -10719,7 +10719,7 @@ var getSerializers = function getSerializers() {
|
|
|
10719
10719
|
var children = props.children,
|
|
10720
10720
|
color = props.mark.color;
|
|
10721
10721
|
|
|
10722
|
-
return React__default[
|
|
10722
|
+
return React__default["default"].createElement(
|
|
10723
10723
|
'span',
|
|
10724
10724
|
{ style: { color: color ? color.hex : null } },
|
|
10725
10725
|
children
|