@mjhls/mjh-framework 1.0.816 → 1.0.817-image-crop-test-v2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +170 -170
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +3 -2
- package/dist/cjs/AD300x250x600.js +3 -2
- package/dist/cjs/AD728x90.js +3 -2
- package/dist/cjs/ADFloatingFooter.js +3 -2
- package/dist/cjs/ADGutter.js +3 -2
- package/dist/cjs/ADSkyscraper.js +3 -2
- package/dist/cjs/ADSponsoredResources.js +3 -2
- package/dist/cjs/ADWebcast.js +3 -2
- package/dist/cjs/ADWelcome.js +3 -2
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +3 -2
- package/dist/cjs/AdSlotsProvider.js +3 -2
- package/dist/cjs/AlgoliaSearch.js +14099 -17
- package/dist/cjs/ArticleCarousel.js +2 -1
- package/dist/cjs/ArticleProgramLandingPage.js +7 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
- package/dist/cjs/ArticleSeriesListing.js +6 -4
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/CMEDeck.js +3 -2
- package/dist/cjs/Column3.js +3 -2
- package/dist/cjs/ConferenceArticleCard.js +19 -24
- package/dist/cjs/DeckContent.js +20 -25
- package/dist/cjs/DeckQueue.js +11 -17
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-93399f8c.js} +2 -1
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +7 -5
- package/dist/cjs/Feature.js +6 -10
- package/dist/cjs/ForbesHero.js +11 -13
- package/dist/cjs/GridContent.js +24 -29
- package/dist/cjs/GridHero.js +13 -24
- package/dist/cjs/GroupDeck.js +4 -8
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/Hero.js +3 -14
- package/dist/cjs/HorizontalArticleListing.js +7 -5
- package/dist/cjs/HorizontalHero.js +7 -8
- package/dist/cjs/IssueContentDeck.js +10 -27
- package/dist/cjs/IssueDeck.js +10 -12
- package/dist/cjs/IssueLanding.js +38 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +3 -2
- package/dist/cjs/MasterDeck.js +14 -13
- package/dist/cjs/MediaSeriesLanding.js +307 -407
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/NavNormal.js +2 -2
- package/dist/cjs/OncliveHero.js +6 -7
- package/dist/cjs/OncliveLargeHero.js +21 -22
- package/dist/cjs/PartnerDetailListing.js +13 -16
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +6 -4
- package/dist/cjs/PublicationDeck.js +10 -12
- package/dist/cjs/PublicationLanding.js +26 -29
- package/dist/cjs/QueueDeckExpanded.js +74 -72
- package/dist/cjs/RecentNews.js +5 -8
- package/dist/cjs/RelatedContent.js +35 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +5 -3
- package/dist/cjs/{SeriesSlider-2db54929.js → SeriesSlider-8c157166.js} +7 -12
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-ecb4f972.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +11 -14
- package/dist/cjs/TaxonomyDescription.js +7 -5
- package/dist/cjs/TemplateNormal.js +8 -7
- package/dist/cjs/ThumbnailCard.js +6 -10
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +3 -7
- package/dist/cjs/VideoProgramLandingPage.js +7 -5
- package/dist/cjs/VideoSeriesCard.js +9 -8
- package/dist/cjs/VideoSeriesLandingPage.js +6 -4
- package/dist/cjs/VideoSeriesListing.js +6 -4
- package/dist/cjs/View.js +17 -16
- package/dist/cjs/YahooHero.js +10 -12
- package/dist/cjs/YoutubeGroup.js +9 -13
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +7 -5
- package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-be6168ad.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-70971c54.js → index-8543a68a.js} +49 -93
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-9225638f.js → index.esm-3b9b8952.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +19 -32
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/urlForV2.js +35 -0
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -6
- package/dist/esm/AD300x250x600.js +7 -6
- package/dist/esm/AD728x90.js +8 -7
- package/dist/esm/ADFloatingFooter.js +10 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -9
- package/dist/esm/{ADInfeed-f7d00a9a.js → ADInfeed-7aaa47e1.js} +5 -5
- package/dist/esm/ADSkyscraper.js +10 -9
- package/dist/esm/ADSponsoredResources.js +10 -9
- package/dist/esm/ADWebcast.js +10 -9
- package/dist/esm/ADWelcome.js +14 -13
- package/dist/esm/{ADlgInfeed-db64f46d.js → ADlgInfeed-78f95e78.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +6 -5
- package/dist/esm/AdSlotsProvider.js +5 -4
- package/dist/esm/AlgoliaSearch.js +14123 -41
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +7 -6
- package/dist/esm/ArticleProgramLandingPage.js +19 -17
- package/dist/esm/ArticleSeriesLandingPage.js +13 -12
- package/dist/esm/ArticleSeriesListing.js +33 -31
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-5ae7409f.js} +10 -10
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +62 -61
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -23
- package/dist/esm/ConferenceArticleCard.js +32 -37
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +63 -68
- package/dist/esm/DeckQueue.js +48 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-43f121ff.js} +11 -10
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +37 -35
- package/dist/esm/Feature.js +20 -24
- package/dist/esm/ForbesHero.js +31 -33
- package/dist/esm/GridContent.js +109 -114
- package/dist/esm/GridHero.js +34 -45
- package/dist/esm/GroupDeck.js +38 -42
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +8 -19
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +33 -31
- package/dist/esm/HorizontalHero.js +25 -26
- package/dist/esm/IssueContentDeck.js +48 -65
- package/dist/esm/IssueDeck.js +43 -45
- package/dist/esm/IssueLanding.js +53 -51
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -16
- package/dist/esm/MasterDeck.js +48 -47
- package/dist/esm/MediaSeriesLanding.js +334 -434
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/NavNormal.js +22 -22
- package/dist/esm/OncliveHero.js +18 -19
- package/dist/esm/OncliveLargeHero.js +58 -59
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +68 -71
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +16 -14
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +43 -45
- package/dist/esm/PublicationLanding.js +75 -78
- package/dist/esm/QueueDeckExpanded.js +262 -260
- package/dist/esm/RecentNews.js +21 -24
- package/dist/esm/RelatedContent.js +46 -49
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SeriesListingDeck.js +21 -19
- package/dist/esm/{SeriesSlider-c8477bf3.js → SeriesSlider-bfd7299d.js} +25 -30
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-cd38ae60.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +43 -46
- package/dist/esm/TaxonomyDescription.js +15 -13
- package/dist/esm/TemplateNormal.js +31 -30
- package/dist/esm/ThumbnailCard.js +11 -15
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +14 -18
- package/dist/esm/VideoProgramLandingPage.js +26 -24
- package/dist/esm/VideoSeriesCard.js +19 -18
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +14 -12
- package/dist/esm/VideoSeriesListing.js +49 -47
- package/dist/esm/View.js +178 -177
- package/dist/esm/YahooHero.js +28 -30
- package/dist/esm/YoutubeGroup.js +36 -40
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +10 -8
- package/dist/esm/{getTargeting-05c216d6.js → getTargeting-68291ce9.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index-a30e3b71.js → index-d1638f9e.js} +357 -401
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-e874e770.js → index.esm-d6f88d94.js} +1 -1
- package/dist/esm/index.js +43 -55
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/urlForV2.js +33 -0
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +110 -110
- /package/dist/cjs/{ADInfeed-7cf51090.js → ADInfeed-1ac86856.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-bf24708d.js → ADlgInfeed-2ee46b09.js} +0 -0
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator, _ as _Promise } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
3
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
4
|
-
import
|
|
4
|
+
import React, { useRef, useState, useEffect } from 'react';
|
|
5
5
|
import { TwitterTimelineEmbed } from 'react-twitter-embed';
|
|
6
|
-
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
7
6
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
7
|
+
import urlFor from './urlForV2.js';
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
10
10
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
11
11
|
import Feature from './Feature.js';
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
12
|
+
import { g as getSerializers } from './index-d1638f9e.js';
|
|
13
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
15
14
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
16
15
|
import './es6.string.iterator-bc33758b.js';
|
|
17
16
|
import './_to-object-b50e61c3.js';
|
|
@@ -20,18 +19,20 @@ import './_library-528f1934.js';
|
|
|
20
19
|
import './core.get-iterator-method-133dfacd.js';
|
|
21
20
|
import './_iter-detect-7e5e5ce2.js';
|
|
22
21
|
import './_object-pie-133f504a.js';
|
|
22
|
+
import './index-0dbff1d1.js';
|
|
23
23
|
import './toConsumableArray-6d9a4616.js';
|
|
24
24
|
import 'react-bootstrap';
|
|
25
|
-
import './index.es-
|
|
26
|
-
import './visibility-sensor-
|
|
25
|
+
import './index.es-c6222053.js';
|
|
26
|
+
import './visibility-sensor-f40c2564.js';
|
|
27
27
|
import 'react-dom';
|
|
28
|
-
import './index-
|
|
28
|
+
import './index-2446af28.js';
|
|
29
|
+
import './events-6c3a7a63.js';
|
|
29
30
|
import 'prop-types';
|
|
30
31
|
import 'next/router';
|
|
31
|
-
import './index-
|
|
32
|
-
import './main-
|
|
32
|
+
import './index-35bdcc81.js';
|
|
33
|
+
import './main-b5c5aac1.js';
|
|
33
34
|
import './entities-932b50cf.js';
|
|
34
|
-
import './ADInfeed-
|
|
35
|
+
import './ADInfeed-7aaa47e1.js';
|
|
35
36
|
import 'react-bootstrap/Card';
|
|
36
37
|
import './AdSlot.js';
|
|
37
38
|
import './debounce-533d9748.js';
|
|
@@ -40,9 +41,9 @@ import './toNumber-5aeba6e7.js';
|
|
|
40
41
|
import './Beam.js';
|
|
41
42
|
import './stringify-59c8f690.js';
|
|
42
43
|
import './Segment.js';
|
|
43
|
-
import './AuthorComponent-
|
|
44
|
+
import './AuthorComponent-5ae7409f.js';
|
|
44
45
|
import './lodash-f97fd99a.js';
|
|
45
|
-
import './ADlgInfeed-
|
|
46
|
+
import './ADlgInfeed-78f95e78.js';
|
|
46
47
|
import './getContentCategory-15dcc413.js';
|
|
47
48
|
import './timeDifferenceCalc.js';
|
|
48
49
|
import 'react-bootstrap/Breadcrumb';
|
|
@@ -51,7 +52,7 @@ import './index-c7e2ac95.js';
|
|
|
51
52
|
import './util-3ab476bf.js';
|
|
52
53
|
import './typeof-a286cf0c.js';
|
|
53
54
|
import './_is-array-3e99e06e.js';
|
|
54
|
-
import './brightcove-react-player-loader.es-
|
|
55
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
55
56
|
import './GroupDeck.js';
|
|
56
57
|
import './SocialShare.js';
|
|
57
58
|
import 'next/head';
|
|
@@ -64,8 +65,8 @@ import 'react-bootstrap/Col';
|
|
|
64
65
|
import './inherits-a41fe93f.js';
|
|
65
66
|
import './_object-sap-f353c2a9.js';
|
|
66
67
|
import './define-property-fe54dc9f.js';
|
|
67
|
-
import './index.esm-
|
|
68
|
-
import './iconBase-
|
|
68
|
+
import './index.esm-3fdda599.js';
|
|
69
|
+
import './iconBase-602d52fe.js';
|
|
69
70
|
import 'react-bootstrap/Figure';
|
|
70
71
|
|
|
71
72
|
var ImageSlider = function ImageSlider(props) {
|
|
@@ -88,10 +89,6 @@ var ImageSlider = function ImageSlider(props) {
|
|
|
88
89
|
scrollPosition = _useState6[0],
|
|
89
90
|
setScrollPosition = _useState6[1];
|
|
90
91
|
|
|
91
|
-
var builder = imageUrlBuilder(props.client);
|
|
92
|
-
function urlFor(source) {
|
|
93
|
-
return builder.image(source);
|
|
94
|
-
}
|
|
95
92
|
function scrollSlider(e, direction) {
|
|
96
93
|
var slide = e.target.parentElement;
|
|
97
94
|
var scrollOffset = scrollPosition;
|
|
@@ -172,61 +169,61 @@ var ImageSlider = function ImageSlider(props) {
|
|
|
172
169
|
}, []);
|
|
173
170
|
|
|
174
171
|
var variant = 'black';
|
|
175
|
-
return
|
|
176
|
-
|
|
172
|
+
return React.createElement(
|
|
173
|
+
React.Fragment,
|
|
177
174
|
null,
|
|
178
|
-
|
|
175
|
+
React.createElement(
|
|
179
176
|
'div',
|
|
180
177
|
{ ref: viewableWindow, id: 'vid-slider', className: 'col' },
|
|
181
|
-
|
|
178
|
+
React.createElement(
|
|
182
179
|
'div',
|
|
183
180
|
{ className: 'row' },
|
|
184
|
-
showScroller &&
|
|
181
|
+
showScroller && React.createElement(
|
|
185
182
|
'div',
|
|
186
183
|
{ onClick: function onClick(e) {
|
|
187
184
|
return scrollSlider(e, 'prev');
|
|
188
185
|
}, className: 'tile__slider-prev', style: { color: variant } },
|
|
189
|
-
|
|
186
|
+
React.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow left' })
|
|
190
187
|
),
|
|
191
|
-
showScroller &&
|
|
188
|
+
showScroller && React.createElement(
|
|
192
189
|
'div',
|
|
193
190
|
{ onClick: function onClick(e) {
|
|
194
191
|
return scrollSlider(e, 'next');
|
|
195
192
|
}, className: 'tile__slider-next', style: { color: variant } },
|
|
196
|
-
|
|
193
|
+
React.createElement('i', { style: { border: 'solid ' + variant, borderWidth: '0 4px 4px 0' }, className: 'arrow right' })
|
|
197
194
|
),
|
|
198
|
-
|
|
195
|
+
React.createElement(
|
|
199
196
|
'div',
|
|
200
197
|
{ ref: innerSlider, className: 'row__inner' },
|
|
201
198
|
props.data.slides.map(function (img, index) {
|
|
202
|
-
var thumbnail = urlFor(img.slideshowImage
|
|
199
|
+
var thumbnail = urlFor({ client: client, source: img.slideshowImage, imageWidth: 250 });
|
|
203
200
|
if (!img.slideshowImage.link) {
|
|
204
|
-
return
|
|
201
|
+
return React.createElement(
|
|
205
202
|
'div',
|
|
206
203
|
{ ref: tile, key: index, className: 'tile', style: { width: tileSize + 'px' } },
|
|
207
|
-
|
|
204
|
+
React.createElement(
|
|
208
205
|
'div',
|
|
209
206
|
{ className: 'tile__media' },
|
|
210
|
-
|
|
207
|
+
React.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
211
208
|
),
|
|
212
|
-
|
|
209
|
+
React.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
213
210
|
);
|
|
214
211
|
} else {
|
|
215
|
-
return
|
|
212
|
+
return React.createElement(
|
|
216
213
|
'a',
|
|
217
214
|
{ ref: tile, key: index, href: img.slideshowImage.link, target: img.slideshowImage.blank ? '_target' : '_self', className: 'tile', style: { width: tileSize + 'px' } },
|
|
218
|
-
|
|
215
|
+
React.createElement(
|
|
219
216
|
'div',
|
|
220
217
|
{ className: 'tile__media' },
|
|
221
|
-
|
|
218
|
+
React.createElement('img', { className: 'tile__img', src: thumbnail, alt: img.slideshowImage.alt ? img.slideshowImage.alt : '', style: { width: tileSize + 'px' } })
|
|
222
219
|
),
|
|
223
|
-
|
|
220
|
+
React.createElement('div', { style: { color: variant }, className: 'tile__info' })
|
|
224
221
|
);
|
|
225
222
|
}
|
|
226
223
|
})
|
|
227
224
|
)
|
|
228
225
|
),
|
|
229
|
-
|
|
226
|
+
React.createElement(
|
|
230
227
|
'style',
|
|
231
228
|
{ jsx: 'true' },
|
|
232
229
|
'\n #vid-slider * {\n box-sizing: border-box;\n -ms-overflow-style: none;\n }\n #vid-slider::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar {\n display: none;\n }\n #vid-slider .row::-webkit-scrollbar-thumb {\n display: none;\n }\n #vid-slider {\n position: relative;\n -ms-overflow-style: none;\n padding: 0 1.5rem;\n margin-bottom: 0 !important;\n }\n #vid-slider .now-playing {\n position: absolute;\n top: 0.5rem;\n left: 1rem;\n color: white;\n background: rgba(0, 0, 0, 0.75);\n }\n #vid-slider h1,\n #vid-slider p {\n text-align: center;\n width: 100%;\n max-width: 500px;\n margin: auto;\n }\n #vid-slider,\n #vidHolder {\n max-width: 805px;\n }\n #vid-slider a:link,\n #vid-slider a:hover,\n #vid-slider a:active,\n #vid-slider a:visited {\n transition: color 150ms;\n color: #95a5a6;\n text-decoration: none;\n }\n #vid-slider a:hover {\n color: #7f8c8d;\n text-decoration: underline;\n }\n #vid-slider .contain {\n width: 100%;\n }\n #vid-slider .row {\n overflow-x: scroll;\n width: 100%;\n -ms-overflow-style: none;\n overflow-y: hidden !important;\n }\n #vid-slider .tile__info {\n white-space: normal !important;\n position: absolute;\n text-align: center;\n color: ' + (props.dark ? 'white' : '#383838') + ';\n opacity: 1;\n font-size: 0.9rem;\n font-weight: bold;\n transition: opacity 0.25s;\n }\n #vid-slider .row__inner {\n transition: 450ms -webkit-transform;\n transition: 450ms transform;\n transition: 450ms transform, 450ms -webkit-transform;\n font-size: 0;\n white-space: nowrap;\n margin: 25px 0 70px !important;\n padding-bottom: 10px;\n padding-left: 0;\n }\n #vid-slider .tile {\n position: relative;\n display: inline-block;\n margin: 0 12px;\n font-size: 20px;\n transition: 450ms all;\n -webkit-transform-origin: center left;\n transform-origin: center left;\n }\n \n #vid-slider .tile:first-child {\n margin-left: 15px;\n }\n #vid-slider .tile__img {\n height: auto;\n -o-object-fit: contain;\n object-fit: contain;\n object-position: center;\n }\n #vid-slider .tile__details {\n position: absolute;\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n font-size: 10px;\n opacity: 0;\n background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);\n transition: 450ms opacity;\n }\n #vid-slider .tile__details:after,\n #vid-slider .tile__details:before {\n content: \'\';\n \n position: absolute;\n top: 50%;\n left: 50%;\n display: #000;\n }\n #vid-slider .tile__details:after {\n margin-top: -25px;\n margin-left: -25px;\n width: 50px;\n height: 50px;\n border: 3px solid #ecf0f1;\n line-height: 50px;\n text-align: center;\n border-radius: 100%;\n background: rgba(0, 0, 0, 0.5);\n z-index: 1;\n }\n #vid-slider .tile__details:before {\n content: \'\';\n background: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox=\'0 0 64 64\' width=\'64\' height=\'64\' fill=\'white\'><path d=\'M26 46 L46 32 L26 18 Z\'/></svg>")\n no-repeat center center;\n left: 0;\n width: 100%;\n height: 3rem;\n font-size: 30px;\n margin-right: 12px;\n margin-top: -24px;\n text-align: center;\n z-index: 2;\n color: white;\n }\n \n #vid-slider .tile__title {\n position: absolute;\n bottom: 0;\n padding: 10px;\n max-width: 250px;\n }\n #vid-slider .tile__title_text {\n position: relative;\n left: 0;\n white-space: normal;\n }\n \n #vid-slider .tile__slider-prev,\n #vid-slider .tile__slider-next {\n width: 30px;\n background: transparent;\n border: none;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n z-index: 99;\n cursor: pointer;\n color: ' + (props.dark ? 'white' : 'black') + ';\n display: flex;\n justify-content: center;\n align-items: center;\n font-size: 2rem;\n }\n #vid-slider .tile__slider-prev {\n left: -0.5rem;\n padding: 1rem;\n }\n #vid-slider .tile__slider-next {\n right: -0.5rem;\n padding: 1rem;\n }\n #vid-slider,\n #vid-slider .row {\n margin: 0;\n }\n \n #vid-slider .row::-webkit-scrollbar-thumb {\n background-color: transparent !important;\n }\n #vid-slider i {\n border: solid ' + (props.dark ? 'white' : 'black') + ';\n border-width: 0 4px 4px 0;\n display: inline-block;\n padding: 4px;\n pointer-events: none;\n }\n #vid-slider .right {\n transform: rotate(-45deg);\n -webkit-transform: rotate(-45deg);\n }\n #vid-slider .left {\n transform: rotate(135deg);\n -webkit-transform: rotate(135deg);\n }\n @media screen and (min-width: 1399px) {\n .block-content #vid-slider .tile__img {\n height: auto;\n }\n .block-content #vid-slider .tile {\n height: auto;\n }\n }\n \n @media screen and (max-width: 1399px) {\n #vid-slider,\n #vidHolder {\n max-width: 620px;\n }\n }\n @media screen and (max-width: 1200px) {\n #vid-slider,\n #vidHolder {\n max-width: 580px;\n }\n }\n @media screen and (max-width: 967px) {\n #vid-slider {\n max-width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 60px 0 50px !important;\n }\n }\n \n @media screen and (max-width: 768px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n }\n @media screen and (max-width: 568px) {\n #vidHolder {\n position: unset;\n width: 100%;\n }\n \n #vid-slider .row__inner {\n margin: 30px 0 70px;\n }\n }\n '
|
|
@@ -249,95 +246,95 @@ var PartnerDetails = function PartnerDetails(_ref) {
|
|
|
249
246
|
pageview = _ref.pageview,
|
|
250
247
|
page = _ref.page;
|
|
251
248
|
|
|
252
|
-
return
|
|
253
|
-
|
|
249
|
+
return React.createElement(
|
|
250
|
+
React.Fragment,
|
|
254
251
|
null,
|
|
255
|
-
|
|
256
|
-
|
|
252
|
+
React.createElement(Breadcrumbs, null),
|
|
253
|
+
React.createElement(
|
|
257
254
|
'div',
|
|
258
255
|
{ className: 'partners-page' },
|
|
259
|
-
|
|
256
|
+
React.createElement(
|
|
260
257
|
'div',
|
|
261
258
|
{ className: 'my-5 partner-logo-wrap', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center' } },
|
|
262
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.link ?
|
|
259
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.link ? React.createElement(
|
|
263
260
|
'a',
|
|
264
261
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%' }, href: partnerDetails.thumbnail.link, target: partnerDetails.thumbnail.blank ? '_blank' : '' },
|
|
265
|
-
|
|
262
|
+
React.createElement(
|
|
266
263
|
'figure',
|
|
267
264
|
{ style: { width: '100%', textAlign: 'center' } },
|
|
268
|
-
|
|
265
|
+
React.createElement('img', {
|
|
269
266
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
270
267
|
style: { maxWidth: '100%' },
|
|
271
|
-
src: partnerDetails.thumbnail ? urlFor(client, partnerDetails.thumbnail.asset) : '' }),
|
|
272
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption &&
|
|
268
|
+
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
269
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
|
|
273
270
|
'figcaption',
|
|
274
271
|
null,
|
|
275
272
|
partnerDetails.thumbnail.caption
|
|
276
273
|
)
|
|
277
274
|
)
|
|
278
|
-
) :
|
|
275
|
+
) : React.createElement(
|
|
279
276
|
'figure',
|
|
280
277
|
{ className: 'partners-logo', style: { width: '25%', minWidth: '25%', textAlign: 'center' } },
|
|
281
|
-
|
|
278
|
+
React.createElement('img', {
|
|
282
279
|
alt: partnerDetails.thumbnail && partnerDetails.thumbnail.alt ? partnerDetails.thumbnail.alt : partnerDetails.name,
|
|
283
280
|
style: { maxWidth: '100%' },
|
|
284
|
-
src: partnerDetails.thumbnail ? urlFor(client, partnerDetails.thumbnail.asset) : '' }),
|
|
285
|
-
partnerDetails.thumbnail && partnerDetails.thumbnail.caption &&
|
|
281
|
+
src: partnerDetails.thumbnail ? urlFor({ client: client, source: partnerDetails.thumbnail.asset }) : '' }),
|
|
282
|
+
partnerDetails.thumbnail && partnerDetails.thumbnail.caption && React.createElement(
|
|
286
283
|
'figcaption',
|
|
287
284
|
null,
|
|
288
285
|
partnerDetails.thumbnail.caption
|
|
289
286
|
)
|
|
290
287
|
),
|
|
291
|
-
|
|
288
|
+
React.createElement(
|
|
292
289
|
'style',
|
|
293
290
|
{ jsx: 'true' },
|
|
294
291
|
'\n @media screen and (max-width: 768px) {\n .partners-logo {\n width: 100%;\n min-width: 100%;\n }\n .partner-logo-wrap {\n flex-wrap: wrap;\n }\n .block-content-partners {\n padding-left: 0 !important;\n }\n }\n '
|
|
295
292
|
),
|
|
296
|
-
partnerDetails.description &&
|
|
293
|
+
partnerDetails.description && React.createElement(
|
|
297
294
|
'div',
|
|
298
295
|
{ className: 'block-content-partners my-4', style: { maxWidth: '100%', paddingLeft: '2rem', flex: '1 1 auto' } },
|
|
299
|
-
|
|
296
|
+
React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: partnerDetails.description, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
300
297
|
)
|
|
301
298
|
),
|
|
302
|
-
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides &&
|
|
299
|
+
partnerDetails.affiliates && partnerDetails.affiliates[0] && partnerDetails.affiliates[0].slides && React.createElement(
|
|
303
300
|
'div',
|
|
304
301
|
{ className: 'mb-4', style: { padding: '0 15px' } },
|
|
305
|
-
partnerDetails.affiliates[0].title &&
|
|
302
|
+
partnerDetails.affiliates[0].title && React.createElement(
|
|
306
303
|
'h2',
|
|
307
304
|
{ className: 'bb-gold' },
|
|
308
305
|
partnerDetails.affiliates[0].title
|
|
309
306
|
),
|
|
310
|
-
|
|
307
|
+
React.createElement(ImageSlider, { client: client, data: partnerDetails.affiliates[0] })
|
|
311
308
|
),
|
|
312
|
-
features.length > 0 &&
|
|
309
|
+
features.length > 0 && React.createElement(
|
|
313
310
|
'div',
|
|
314
311
|
{ className: ' mb-5' },
|
|
315
|
-
|
|
312
|
+
React.createElement(Feature, { dataset: features, client: client })
|
|
316
313
|
),
|
|
317
|
-
partnerDetails.twitter &&
|
|
318
|
-
|
|
314
|
+
partnerDetails.twitter && React.createElement(
|
|
315
|
+
React.Fragment,
|
|
319
316
|
null,
|
|
320
|
-
|
|
317
|
+
React.createElement(
|
|
321
318
|
'div',
|
|
322
319
|
{ className: 'mb-5', style: { width: '100%', textAlign: 'center', padding: '0 15px', border: '2px solid #aaa', borderRadius: '15px' } },
|
|
323
|
-
|
|
320
|
+
React.createElement(TwitterTimelineEmbed, { sourceType: 'url', url: partnerDetails.twitter, options: { height: 400 } })
|
|
324
321
|
)
|
|
325
322
|
),
|
|
326
|
-
|
|
323
|
+
React.createElement(
|
|
327
324
|
'div',
|
|
328
325
|
null,
|
|
329
|
-
posts && posts.length > 0 &&
|
|
330
|
-
|
|
326
|
+
posts && posts.length > 0 && React.createElement(
|
|
327
|
+
React.Fragment,
|
|
331
328
|
null,
|
|
332
|
-
|
|
329
|
+
React.createElement(
|
|
333
330
|
'h2',
|
|
334
331
|
{ className: 'bb-gold mb-2' },
|
|
335
332
|
'Latest from ',
|
|
336
333
|
partnerDetails.name
|
|
337
334
|
),
|
|
338
|
-
|
|
335
|
+
React.createElement('hr', null)
|
|
339
336
|
),
|
|
340
|
-
|
|
337
|
+
React.createElement(QueueDeckExpanded, {
|
|
341
338
|
client: client,
|
|
342
339
|
mapping: Settings.mapping,
|
|
343
340
|
dataRecord: posts,
|
package/dist/esm/PdfDownload.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { b as MdPictureAsPdf } from './index.esm-
|
|
2
|
-
import
|
|
3
|
-
import './iconBase-
|
|
1
|
+
import { b as MdPictureAsPdf } from './index.esm-d6f88d94.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import './iconBase-602d52fe.js';
|
|
4
4
|
|
|
5
5
|
var PdfDownload = function PdfDownload(props) {
|
|
6
|
-
return
|
|
6
|
+
return React.createElement(
|
|
7
7
|
'div',
|
|
8
8
|
{ className: 'pdf-download', style: { textAlign: 'center', padding: '1rem 0', borderTop: '1px solid #eee', marginTop: '1rem' } },
|
|
9
|
-
|
|
9
|
+
React.createElement(
|
|
10
10
|
'a',
|
|
11
11
|
{ rel: 'noopener', href: props.issueInfo.asset.url, target: '_blank' },
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
React.createElement(MdPictureAsPdf, { style: { fontSize: '65px', color: '#ff0000' } }),
|
|
13
|
+
React.createElement(
|
|
14
14
|
'span',
|
|
15
15
|
null,
|
|
16
16
|
'Click to download this publication issue.'
|
package/dist/esm/PopUpModal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
-
import
|
|
2
|
+
import React, { useState } from 'react';
|
|
3
3
|
import Modal from 'react-bootstrap/Modal';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './web.dom.iterable-4109ff68.js';
|
|
@@ -18,22 +18,22 @@ var PopUpModal = function PopUpModal(props) {
|
|
|
18
18
|
setShow(false);
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
-
return
|
|
21
|
+
return React.createElement(
|
|
22
22
|
Modal,
|
|
23
23
|
{ show: show, onHide: function onHide() {
|
|
24
24
|
return setShow(false);
|
|
25
25
|
}, 'aria-labelledby': 'Popup-Modal' },
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
React.createElement(Modal.Title, null),
|
|
27
|
+
React.createElement(
|
|
28
28
|
Modal.Body,
|
|
29
29
|
null,
|
|
30
|
-
|
|
30
|
+
React.createElement(
|
|
31
31
|
'div',
|
|
32
32
|
{ className: 'modalImageHolder' },
|
|
33
|
-
|
|
33
|
+
React.createElement('img', { className: 'modalImage', src: props.ModalImage, onClick: function onClick() {
|
|
34
34
|
return launchModalButton();
|
|
35
35
|
} }),
|
|
36
|
-
|
|
36
|
+
React.createElement(
|
|
37
37
|
'div',
|
|
38
38
|
{ className: 'modalClose', onClick: function onClick() {
|
|
39
39
|
return setShow(false);
|
|
@@ -42,7 +42,7 @@ var PopUpModal = function PopUpModal(props) {
|
|
|
42
42
|
)
|
|
43
43
|
)
|
|
44
44
|
),
|
|
45
|
-
|
|
45
|
+
React.createElement(
|
|
46
46
|
'style',
|
|
47
47
|
{ jsx: 'true' },
|
|
48
48
|
'\n .modalImageHolder {\n display: flex;\n justify-content: center;\n }\n .modalClose {\n display: flex;\n justify-content: center;\n width: 25px;\n height: 25px;\n font-size: 1.25rem;\n color: #fff;\n cursor: pointer;\n }\n .modalImage {\n cursor: pointer;\n }\n '
|
package/dist/esm/PubSection.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
3
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
4
|
-
import
|
|
4
|
+
import React from 'react';
|
|
5
5
|
import QueueDeckExpanded from './QueueDeckExpanded.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -13,18 +13,20 @@ import './_iter-detect-7e5e5ce2.js';
|
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import './toConsumableArray-6d9a4616.js';
|
|
15
15
|
import 'react-bootstrap';
|
|
16
|
+
import './urlForV2.js';
|
|
16
17
|
import './index-0dbff1d1.js';
|
|
17
|
-
import './index.es-
|
|
18
|
+
import './index.es-c6222053.js';
|
|
18
19
|
import './moment-bc12cb97.js';
|
|
19
|
-
import './visibility-sensor-
|
|
20
|
+
import './visibility-sensor-f40c2564.js';
|
|
20
21
|
import 'react-dom';
|
|
21
|
-
import './index-
|
|
22
|
+
import './index-2446af28.js';
|
|
23
|
+
import './events-6c3a7a63.js';
|
|
22
24
|
import 'prop-types';
|
|
23
25
|
import 'next/router';
|
|
24
|
-
import './index-
|
|
25
|
-
import './main-
|
|
26
|
+
import './index-35bdcc81.js';
|
|
27
|
+
import './main-b5c5aac1.js';
|
|
26
28
|
import './entities-932b50cf.js';
|
|
27
|
-
import './ADInfeed-
|
|
29
|
+
import './ADInfeed-7aaa47e1.js';
|
|
28
30
|
import 'react-bootstrap/Card';
|
|
29
31
|
import './AdSlot.js';
|
|
30
32
|
import './debounce-533d9748.js';
|
|
@@ -33,9 +35,9 @@ import './toNumber-5aeba6e7.js';
|
|
|
33
35
|
import './Beam.js';
|
|
34
36
|
import './stringify-59c8f690.js';
|
|
35
37
|
import './Segment.js';
|
|
36
|
-
import './AuthorComponent-
|
|
38
|
+
import './AuthorComponent-5ae7409f.js';
|
|
37
39
|
import './lodash-f97fd99a.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
40
|
+
import './ADlgInfeed-78f95e78.js';
|
|
39
41
|
import './getContentCategory-15dcc413.js';
|
|
40
42
|
import './timeDifferenceCalc.js';
|
|
41
43
|
|
|
@@ -45,24 +47,24 @@ var PubSection = function PubSection(props) {
|
|
|
45
47
|
var pubSection = props.pubSection,
|
|
46
48
|
tocUrl = props.tocUrl;
|
|
47
49
|
|
|
48
|
-
return
|
|
50
|
+
return React.createElement(
|
|
49
51
|
'div',
|
|
50
52
|
{ id: 'pubSection' },
|
|
51
|
-
pubSection.publication && pubSection.publication.name &&
|
|
53
|
+
pubSection.publication && pubSection.publication.name && React.createElement(
|
|
52
54
|
'h2',
|
|
53
55
|
null,
|
|
54
56
|
pubSection.publication.name
|
|
55
57
|
),
|
|
56
|
-
|
|
58
|
+
React.createElement(
|
|
57
59
|
'p',
|
|
58
60
|
null,
|
|
59
|
-
|
|
61
|
+
React.createElement(
|
|
60
62
|
'a',
|
|
61
63
|
{ id: 'back', href: tocUrl ? tocUrl : 'toc' },
|
|
62
64
|
'Back to Table of Contents'
|
|
63
65
|
)
|
|
64
66
|
),
|
|
65
|
-
|
|
67
|
+
React.createElement(QueueDeckExpanded, _extends({ dataRecord: pubSection.articles }, props))
|
|
66
68
|
);
|
|
67
69
|
};
|
|
68
70
|
|
package/dist/esm/PubToc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
-
import
|
|
3
|
+
import React from 'react';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
5
|
import './es6.string.iterator-bc33758b.js';
|
|
6
6
|
import './_to-object-b50e61c3.js';
|
|
@@ -14,17 +14,17 @@ var _this = undefined;
|
|
|
14
14
|
var PubToc = function PubToc(props) {
|
|
15
15
|
var toc = props.toc;
|
|
16
16
|
|
|
17
|
-
return
|
|
17
|
+
return React.createElement(
|
|
18
18
|
'div',
|
|
19
19
|
{ id: 'pubToc' },
|
|
20
|
-
|
|
20
|
+
React.createElement(
|
|
21
21
|
'ul',
|
|
22
22
|
null,
|
|
23
23
|
toc && toc.parentSection && Array.isArray(toc.parentSection.sections) && toc.parentSection.sections.map(function (s) {
|
|
24
|
-
return
|
|
24
|
+
return React.createElement(
|
|
25
25
|
'li',
|
|
26
26
|
{ key: s.identifier },
|
|
27
|
-
|
|
27
|
+
React.createElement(
|
|
28
28
|
'a',
|
|
29
29
|
{ href: s.identifier },
|
|
30
30
|
s.name
|