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