@mjhls/mjh-framework 1.0.817-image-crop-test-v3 → 1.0.817
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 +2 -3
- package/dist/cjs/AD300x250x600.js +2 -3
- package/dist/cjs/AD728x90.js +2 -3
- package/dist/cjs/ADFloatingFooter.js +2 -3
- package/dist/cjs/ADGutter.js +2 -3
- package/dist/cjs/ADSkyscraper.js +2 -3
- package/dist/cjs/ADSponsoredResources.js +2 -3
- package/dist/cjs/ADWebcast.js +2 -3
- package/dist/cjs/ADWelcome.js +2 -3
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +2 -3
- package/dist/cjs/AdSlotsProvider.js +2 -3
- package/dist/cjs/AlgoliaSearch.js +17 -14099
- package/dist/cjs/ArticleCarousel.js +1 -2
- package/dist/cjs/ArticleProgramLandingPage.js +5 -7
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -5
- package/dist/cjs/ArticleSeriesListing.js +4 -6
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/CMEDeck.js +2 -3
- package/dist/cjs/Column3.js +2 -3
- package/dist/cjs/ConferenceArticleCard.js +24 -19
- package/dist/cjs/DeckContent.js +25 -20
- package/dist/cjs/DeckQueue.js +17 -11
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-3f0ed4c8.js} +1 -2
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +5 -7
- package/dist/cjs/Feature.js +10 -6
- package/dist/cjs/ForbesHero.js +13 -11
- package/dist/cjs/GridContent.js +29 -24
- package/dist/cjs/GridHero.js +19 -10
- package/dist/cjs/GroupDeck.js +8 -4
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/Hero.js +14 -3
- package/dist/cjs/HorizontalArticleListing.js +5 -7
- package/dist/cjs/HorizontalHero.js +8 -7
- package/dist/cjs/IssueContentDeck.js +27 -10
- package/dist/cjs/IssueDeck.js +12 -10
- package/dist/cjs/IssueLanding.js +36 -38
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +2 -3
- package/dist/cjs/MasterDeck.js +13 -14
- package/dist/cjs/MediaSeriesLanding.js +407 -307
- 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 +7 -6
- package/dist/cjs/OncliveLargeHero.js +22 -21
- package/dist/cjs/PartnerDetailListing.js +16 -13
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +4 -6
- package/dist/cjs/PublicationDeck.js +12 -10
- package/dist/cjs/PublicationLanding.js +29 -26
- package/dist/cjs/QueueDeckExpanded.js +72 -74
- package/dist/cjs/RecentNews.js +8 -5
- package/dist/cjs/RelatedContent.js +38 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +3 -5
- package/dist/cjs/{SeriesSlider-d54fa925.js → SeriesSlider-2db54929.js} +12 -7
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-948138c7.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +14 -11
- package/dist/cjs/TaxonomyDescription.js +5 -7
- package/dist/cjs/TemplateNormal.js +7 -8
- package/dist/cjs/ThumbnailCard.js +10 -6
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +7 -3
- package/dist/cjs/VideoProgramLandingPage.js +5 -7
- package/dist/cjs/VideoSeriesCard.js +8 -9
- package/dist/cjs/VideoSeriesLandingPage.js +4 -6
- package/dist/cjs/VideoSeriesListing.js +5 -7
- package/dist/cjs/View.js +16 -17
- package/dist/cjs/YahooHero.js +12 -10
- package/dist/cjs/YoutubeGroup.js +13 -9
- package/dist/cjs/getSerializers.js +5 -7
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-a100d6e5.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-602d52fe.js → cjs/iconBase-be4097c0.js} +33 -8
- package/dist/cjs/{index-fc2f1ca2.js → index-0e4427c8.js} +467 -2
- package/dist/cjs/{index-55c6de08.js → index-70971c54.js} +93 -49
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-00a6aade.js} +1 -1
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-2bb721c8.js} +1 -1
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-9225638f.js} +1 -1
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-f27f80d9.js} +1 -1
- package/dist/cjs/index.js +32 -19
- package/dist/cjs/{main-025fdc78.js → main-f1c77adb.js} +3 -3
- package/dist/cjs/urlFor.js +2 -34
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +6 -7
- package/dist/esm/AD300x250x600.js +6 -7
- package/dist/esm/AD728x90.js +7 -8
- package/dist/esm/ADFloatingFooter.js +9 -10
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -10
- package/dist/esm/{ADInfeed-7aaa47e1.js → ADInfeed-f7d00a9a.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -10
- package/dist/esm/ADSponsoredResources.js +9 -10
- package/dist/esm/ADWebcast.js +9 -10
- package/dist/esm/ADWelcome.js +13 -14
- package/dist/esm/{ADlgInfeed-78f95e78.js → ADlgInfeed-db64f46d.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +5 -6
- package/dist/esm/AdSlotsProvider.js +4 -5
- package/dist/esm/AlgoliaSearch.js +41 -14123
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +6 -7
- package/dist/esm/ArticleProgramLandingPage.js +17 -19
- package/dist/esm/ArticleSeriesLandingPage.js +12 -13
- package/dist/esm/ArticleSeriesListing.js +31 -33
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-30aeba69.js} +10 -10
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-c99c9a8d.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -62
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +23 -24
- package/dist/esm/ConferenceArticleCard.js +37 -32
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +68 -63
- package/dist/esm/DeckQueue.js +54 -48
- package/dist/esm/{Dfp-43f121ff.js → Dfp-be030f2a.js} +10 -11
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +35 -37
- package/dist/esm/Feature.js +24 -20
- package/dist/esm/ForbesHero.js +33 -31
- package/dist/esm/GridContent.js +114 -109
- package/dist/esm/GridHero.js +40 -31
- package/dist/esm/GroupDeck.js +42 -38
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +19 -8
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +31 -33
- package/dist/esm/HorizontalHero.js +26 -25
- package/dist/esm/IssueContentDeck.js +65 -48
- package/dist/esm/IssueDeck.js +45 -43
- package/dist/esm/IssueLanding.js +51 -53
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -17
- package/dist/esm/MasterDeck.js +47 -48
- package/dist/esm/MediaSeriesLanding.js +434 -334
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.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 +19 -18
- package/dist/esm/OncliveLargeHero.js +59 -58
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +71 -68
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +14 -16
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +45 -43
- package/dist/esm/PublicationLanding.js +78 -75
- package/dist/esm/QueueDeckExpanded.js +260 -262
- package/dist/esm/RecentNews.js +24 -21
- package/dist/esm/RelatedContent.js +49 -46
- 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 +19 -21
- package/dist/esm/{SeriesSlider-8f2aca58.js → SeriesSlider-c8477bf3.js} +30 -25
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-db963c3e.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +46 -43
- package/dist/esm/TaxonomyDescription.js +13 -15
- package/dist/esm/TemplateNormal.js +30 -31
- package/dist/esm/ThumbnailCard.js +15 -11
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +18 -14
- package/dist/esm/VideoProgramLandingPage.js +24 -26
- package/dist/esm/VideoSeriesCard.js +18 -19
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +12 -14
- package/dist/esm/VideoSeriesListing.js +48 -50
- package/dist/esm/View.js +177 -178
- package/dist/esm/YahooHero.js +30 -28
- package/dist/esm/YoutubeGroup.js +40 -36
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-57a70a56.js} +3 -3
- package/dist/esm/getSerializers.js +8 -10
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-05c216d6.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-68959171.js → esm/iconBase-ccc56b97.js} +2 -5
- package/dist/esm/{index-2446af28.js → index-5cc7b406.js} +469 -4
- package/dist/esm/{index-35bdcc81.js → index-755f2cc2.js} +4 -4
- package/dist/esm/{index-e8c6a892.js → index-a30e3b71.js} +401 -357
- package/dist/esm/{index.es-c6222053.js → index.es-a6137319.js} +5 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-37268dca.js} +16 -16
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-d4932dea.js} +1 -1
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-e874e770.js} +1 -1
- package/dist/esm/{index.esm-3fdda599.js → index.esm-f6156a57.js} +1 -1
- package/dist/esm/index.js +55 -43
- package/dist/esm/{main-b5c5aac1.js → main-d4165069.js} +19 -19
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-9be47857.js} +5 -5
- package/dist/esm/urlFor.js +2 -34
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/package.json +110 -110
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-8041a4eb.js +0 -99
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-67e1773f.js +0 -94
- /package/dist/cjs/{ADInfeed-1ac86856.js → ADInfeed-7cf51090.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-2ee46b09.js → ADlgInfeed-bf24708d.js} +0 -0
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
2
|
-
import
|
|
3
|
-
import { B as BlockContent } from './BlockContent-
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
5
5
|
import Row from 'react-bootstrap/Row';
|
|
6
6
|
import Col from 'react-bootstrap/Col';
|
|
7
7
|
import Card from 'react-bootstrap/Card';
|
|
8
|
-
import
|
|
9
|
-
import { L as LazyLoad } from './index-
|
|
10
|
-
import { r as reactSocialIcons_1 } from './react-social-icons-
|
|
8
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
9
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
10
|
+
import { r as reactSocialIcons_1 } from './react-social-icons-9be47857.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
12
|
import './_to-object-b50e61c3.js';
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import 'prop-types';
|
|
15
|
-
import './index-0dbff1d1.js';
|
|
16
15
|
import 'react-dom';
|
|
17
16
|
|
|
18
17
|
var TaxonomyCard = function TaxonomyCard(props) {
|
|
@@ -26,16 +25,20 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
26
25
|
client = props.client,
|
|
27
26
|
_props$imageHeight = props.imageHeight,
|
|
28
27
|
imageHeight = _props$imageHeight === undefined ? 270 : _props$imageHeight,
|
|
29
|
-
|
|
30
|
-
imageWidth = _props$imageWidth === undefined ? null : _props$imageWidth,
|
|
31
|
-
_props$imageFit = props.imageFit,
|
|
32
|
-
imageFit = _props$imageFit === undefined ? null : _props$imageFit,
|
|
28
|
+
imageWidth = props.imageWidth,
|
|
33
29
|
getSerializers = props.getSerializers;
|
|
34
30
|
|
|
31
|
+
var builder = imageUrlBuilder(client);
|
|
32
|
+
|
|
33
|
+
var urlFor = function urlFor(source) {
|
|
34
|
+
return builder.image(source).auto('format');
|
|
35
|
+
};
|
|
35
36
|
|
|
36
37
|
var renderCardImage = function renderCardImage(row) {
|
|
37
|
-
var url = urlFor(
|
|
38
|
-
|
|
38
|
+
var url = urlFor(row.thumbnail);
|
|
39
|
+
if (imageHeight) url = url.height(imageHeight);
|
|
40
|
+
if (imageWidth) url = url.width(imageWidth);
|
|
41
|
+
return url.url();
|
|
39
42
|
};
|
|
40
43
|
|
|
41
44
|
var mode = variant && variant === 'bottom' ? 'column-reverse' : 'column';
|
|
@@ -43,13 +46,13 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
43
46
|
var itemCounter = 0;
|
|
44
47
|
var lgVar = 12;
|
|
45
48
|
|
|
46
|
-
return
|
|
49
|
+
return React__default.createElement(
|
|
47
50
|
'div',
|
|
48
51
|
{ className: 'contentDeck' },
|
|
49
|
-
|
|
52
|
+
React__default.createElement(
|
|
50
53
|
Container,
|
|
51
54
|
null,
|
|
52
|
-
|
|
55
|
+
React__default.createElement(
|
|
53
56
|
Row,
|
|
54
57
|
null,
|
|
55
58
|
data && data.map(function (row, index) {
|
|
@@ -89,33 +92,33 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
89
92
|
extraURL2 && companyDetails.push({ key: 'url', value: extraURL2 });
|
|
90
93
|
extraURL3 && companyDetails.push({ key: 'url', value: extraURL3 });
|
|
91
94
|
extraURL4 && companyDetails.push({ key: 'url', value: extraURL4 });
|
|
92
|
-
return
|
|
95
|
+
return React__default.createElement(
|
|
93
96
|
Col,
|
|
94
97
|
{ key: itemCounter, md: 12, lg: lgVar, counter: itemCounter++, style: { display: 'flex', flex: '1 0 auto' } },
|
|
95
|
-
|
|
98
|
+
React__default.createElement(
|
|
96
99
|
Card,
|
|
97
100
|
{ className: 'taxonomy-card', style: { flexDirection: mode, position: 'relative', overflow: 'hidden' } },
|
|
98
|
-
|
|
101
|
+
React__default.createElement(
|
|
99
102
|
Card.Body,
|
|
100
103
|
null,
|
|
101
|
-
|
|
104
|
+
React__default.createElement(
|
|
102
105
|
Row,
|
|
103
106
|
null,
|
|
104
|
-
thumbnailURL &&
|
|
107
|
+
thumbnailURL && React__default.createElement(
|
|
105
108
|
Col,
|
|
106
109
|
null,
|
|
107
|
-
|
|
110
|
+
React__default.createElement(
|
|
108
111
|
LazyLoad,
|
|
109
112
|
{ height: imageHeight },
|
|
110
|
-
row && row.thumbnail &&
|
|
113
|
+
row && row.thumbnail && React__default.createElement(
|
|
111
114
|
'figure',
|
|
112
115
|
null,
|
|
113
|
-
row.thumbnail.link ?
|
|
116
|
+
row.thumbnail.link ? React__default.createElement(
|
|
114
117
|
'a',
|
|
115
118
|
{ href: row.thumbnail.link, target: row.thumbnail.blank ? '_blank' : '_self' },
|
|
116
|
-
|
|
117
|
-
) :
|
|
118
|
-
row && row.thumbnail && row.thumbnail.caption &&
|
|
119
|
+
React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' })
|
|
120
|
+
) : React__default.createElement(Card.Img, { variant: 'top', src: thumbnailURL, alt: row.thumbnail.alt ? row.thumbnail.alt : 'profile image' }),
|
|
121
|
+
row && row.thumbnail && row.thumbnail.caption && React__default.createElement(
|
|
119
122
|
'figcaption',
|
|
120
123
|
null,
|
|
121
124
|
row.thumbnail.caption
|
|
@@ -123,30 +126,30 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
123
126
|
)
|
|
124
127
|
)
|
|
125
128
|
),
|
|
126
|
-
|
|
129
|
+
React__default.createElement(
|
|
127
130
|
Col,
|
|
128
131
|
null,
|
|
129
|
-
|
|
132
|
+
React__default.createElement(
|
|
130
133
|
Row,
|
|
131
134
|
{ className: 'details-content-wrapper' },
|
|
132
|
-
|
|
135
|
+
React__default.createElement(
|
|
133
136
|
'div',
|
|
134
137
|
{ className: 'details-content-inner-wrapper' },
|
|
135
|
-
(address && address.length > 0 || companyDetails && companyDetails.length > 0) &&
|
|
138
|
+
(address && address.length > 0 || companyDetails && companyDetails.length > 0) && React__default.createElement(
|
|
136
139
|
'div',
|
|
137
140
|
{ className: 'details-wrapper' },
|
|
138
|
-
companyDetails && companyDetails.length > 0 &&
|
|
141
|
+
companyDetails && companyDetails.length > 0 && React__default.createElement(
|
|
139
142
|
'div',
|
|
140
143
|
{ className: 'company-wrapper' },
|
|
141
144
|
companyDetails.map(function (field, index) {
|
|
142
145
|
if (field.value && field.key === 'company') {
|
|
143
|
-
return
|
|
146
|
+
return React__default.createElement(
|
|
144
147
|
'p',
|
|
145
148
|
{ className: 'details-field', key: index },
|
|
146
149
|
field.value
|
|
147
150
|
);
|
|
148
151
|
} else if (field.value && field.key === 'url') {
|
|
149
|
-
return
|
|
152
|
+
return React__default.createElement(
|
|
150
153
|
'a',
|
|
151
154
|
{ className: 'details-field', href: field.value, key: index },
|
|
152
155
|
field.value
|
|
@@ -161,12 +164,12 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
161
164
|
// }
|
|
162
165
|
})
|
|
163
166
|
),
|
|
164
|
-
address && address.length > 0 &&
|
|
167
|
+
address && address.length > 0 && React__default.createElement(
|
|
165
168
|
'div',
|
|
166
169
|
{ className: 'address-wrapper' },
|
|
167
170
|
address.map(function (field, index) {
|
|
168
171
|
if (field) {
|
|
169
|
-
return
|
|
172
|
+
return React__default.createElement(
|
|
170
173
|
'p',
|
|
171
174
|
{ className: 'details-field', key: index },
|
|
172
175
|
field
|
|
@@ -174,18 +177,18 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
174
177
|
}
|
|
175
178
|
})
|
|
176
179
|
),
|
|
177
|
-
|
|
180
|
+
React__default.createElement(
|
|
178
181
|
'style',
|
|
179
182
|
{ jsx: 'true' },
|
|
180
183
|
'\n .details-content-wrapper,\n .details-content-inner-wrapper {\n width: 100%;\n }\n .details-wrapper .details-field {\n margin: 0px;\n display: block;\n font-size: 1rem;\n margin-bottom: 3px;\n }\n .details-wrapper .company-wrapper {\n margin-right: 20px;\n display: inline-block;\n width: 50%;\n vertical-align: top;\n }\n .details-wrapper .address-wrapper {\n width: 45%;\n display: inline-block;\n }\n '
|
|
181
184
|
)
|
|
182
185
|
),
|
|
183
|
-
socialLinks && socialLinks.length &&
|
|
186
|
+
socialLinks && socialLinks.length && React__default.createElement(
|
|
184
187
|
'div',
|
|
185
188
|
{ className: 'social-icons' },
|
|
186
189
|
socialLinks.map(function (url, index) {
|
|
187
190
|
if (url && url.length) {
|
|
188
|
-
return
|
|
191
|
+
return React__default.createElement(reactSocialIcons_1, {
|
|
189
192
|
target: '_blank',
|
|
190
193
|
rel: 'noopener noreferrer',
|
|
191
194
|
key: index,
|
|
@@ -195,22 +198,22 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
195
198
|
});
|
|
196
199
|
}
|
|
197
200
|
}),
|
|
198
|
-
|
|
201
|
+
React__default.createElement(
|
|
199
202
|
'style',
|
|
200
203
|
{ jsx: 'true' },
|
|
201
204
|
'\n .social-icons {\n margin-top: 0px;\n margin-bottom: 10px;\n }\n '
|
|
202
205
|
)
|
|
203
206
|
),
|
|
204
|
-
|
|
207
|
+
React__default.createElement(
|
|
205
208
|
Card.Text,
|
|
206
209
|
null,
|
|
207
|
-
|
|
210
|
+
React__default.createElement(BlockContent, _extends({ blocks: row.summary, serializers: getSerializers }, client.config()))
|
|
208
211
|
)
|
|
209
212
|
)
|
|
210
213
|
)
|
|
211
214
|
)
|
|
212
215
|
),
|
|
213
|
-
icon &&
|
|
216
|
+
icon && React__default.createElement(
|
|
214
217
|
'span',
|
|
215
218
|
{
|
|
216
219
|
className: 'taxonomy-icon',
|
|
@@ -230,7 +233,7 @@ var TaxonomyCard = function TaxonomyCard(props) {
|
|
|
230
233
|
})
|
|
231
234
|
)
|
|
232
235
|
),
|
|
233
|
-
icon &&
|
|
236
|
+
icon && React__default.createElement(
|
|
234
237
|
'style',
|
|
235
238
|
{ jsx: 'true' },
|
|
236
239
|
'\n .taxonomy-card:hover .taxonomy-icon {\n transform: translateY(-50%) scale(1.5) translateX(0) !important;\n }\n '
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _extends, a as _Object$assign } from './extends-60e0e1c6.js';
|
|
3
|
-
import
|
|
3
|
+
import React__default from 'react';
|
|
4
4
|
import { useRouter } from 'next/router';
|
|
5
5
|
import Head from 'next/head';
|
|
6
|
-
import { B as BlockContent } from './BlockContent-
|
|
7
|
-
import { g as getSerializers } from './index-
|
|
6
|
+
import { B as BlockContent } from './BlockContent-c99c9a8d.js';
|
|
7
|
+
import { g as getSerializers } from './index-a30e3b71.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './es6.string.iterator-bc33758b.js';
|
|
10
10
|
import './_to-object-b50e61c3.js';
|
|
@@ -17,20 +17,18 @@ import 'prop-types';
|
|
|
17
17
|
import './index-0dbff1d1.js';
|
|
18
18
|
import './slicedToArray-be2f7a22.js';
|
|
19
19
|
import 'react-bootstrap';
|
|
20
|
-
import './
|
|
21
|
-
import './index-2446af28.js';
|
|
22
|
-
import './events-6c3a7a63.js';
|
|
20
|
+
import './index-5cc7b406.js';
|
|
23
21
|
import './index-c7e2ac95.js';
|
|
24
22
|
import './util-3ab476bf.js';
|
|
25
23
|
import './Beam.js';
|
|
26
24
|
import './stringify-59c8f690.js';
|
|
27
25
|
import './Segment.js';
|
|
28
|
-
import './main-
|
|
29
|
-
import './index-
|
|
26
|
+
import './main-d4165069.js';
|
|
27
|
+
import './index-755f2cc2.js';
|
|
30
28
|
import 'react-dom';
|
|
31
29
|
import './typeof-a286cf0c.js';
|
|
32
30
|
import './_is-array-3e99e06e.js';
|
|
33
|
-
import './brightcove-react-player-loader.es-
|
|
31
|
+
import './brightcove-react-player-loader.es-57a70a56.js';
|
|
34
32
|
import './GroupDeck.js';
|
|
35
33
|
import './smoothscroll-fa4e3f8c.js';
|
|
36
34
|
import './moment-bc12cb97.js';
|
|
@@ -50,8 +48,8 @@ import 'react-bootstrap/Col';
|
|
|
50
48
|
import './inherits-a41fe93f.js';
|
|
51
49
|
import './_object-sap-f353c2a9.js';
|
|
52
50
|
import './define-property-fe54dc9f.js';
|
|
53
|
-
import './index.esm-
|
|
54
|
-
import './iconBase-
|
|
51
|
+
import './index.esm-f6156a57.js';
|
|
52
|
+
import './iconBase-ccc56b97.js';
|
|
55
53
|
import 'react-bootstrap/Figure';
|
|
56
54
|
|
|
57
55
|
var _this = undefined;
|
|
@@ -91,10 +89,10 @@ var setMetaDescription = function setMetaDescription(data, router) {
|
|
|
91
89
|
}
|
|
92
90
|
}
|
|
93
91
|
}
|
|
94
|
-
return
|
|
92
|
+
return React__default.createElement(
|
|
95
93
|
Head,
|
|
96
94
|
null,
|
|
97
|
-
|
|
95
|
+
React__default.createElement('meta', { name: 'description', content: metaDescription, key: 'description' })
|
|
98
96
|
);
|
|
99
97
|
};
|
|
100
98
|
|
|
@@ -103,11 +101,11 @@ var TaxonomyDescription = function TaxonomyDescription(_ref) {
|
|
|
103
101
|
client = _ref.client;
|
|
104
102
|
|
|
105
103
|
var router = useRouter();
|
|
106
|
-
return data && data.length > 0 &&
|
|
104
|
+
return data && data.length > 0 && React__default.createElement(
|
|
107
105
|
'section',
|
|
108
106
|
{ className: 'taxonomy-description' },
|
|
109
107
|
setMetaDescription(data, router),
|
|
110
|
-
|
|
108
|
+
React__default.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: data, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config()))
|
|
111
109
|
);
|
|
112
110
|
};
|
|
113
111
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
2
|
-
import
|
|
2
|
+
import React__default, { useState, useEffect } from 'react';
|
|
3
3
|
import { useRouter } from 'next/router';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
5
5
|
import ADGutter from './ADGutter.js';
|
|
@@ -22,8 +22,7 @@ import './AdSlot.js';
|
|
|
22
22
|
import './extends-60e0e1c6.js';
|
|
23
23
|
import './_object-pie-133f504a.js';
|
|
24
24
|
import 'prop-types';
|
|
25
|
-
import './index-
|
|
26
|
-
import './events-6c3a7a63.js';
|
|
25
|
+
import './index-5cc7b406.js';
|
|
27
26
|
import './debounce-533d9748.js';
|
|
28
27
|
import './isSymbol-a7e9aafe.js';
|
|
29
28
|
import './toNumber-5aeba6e7.js';
|
|
@@ -33,17 +32,17 @@ import './asyncToGenerator-7f8f9219.js';
|
|
|
33
32
|
import './_library-528f1934.js';
|
|
34
33
|
import './_iter-detect-7e5e5ce2.js';
|
|
35
34
|
import './Segment.js';
|
|
36
|
-
import './main-
|
|
35
|
+
import './main-d4165069.js';
|
|
37
36
|
import 'next/head';
|
|
38
37
|
import 'react-bootstrap/Row';
|
|
39
38
|
import 'react-bootstrap/Col';
|
|
40
39
|
import './SideFooter.js';
|
|
41
40
|
import './defineProperty-f5ff6f5a.js';
|
|
42
41
|
import './define-property-fe54dc9f.js';
|
|
43
|
-
import './react-social-icons-
|
|
42
|
+
import './react-social-icons-9be47857.js';
|
|
44
43
|
import './get-3c308da4.js';
|
|
45
44
|
import './eq-bdcbf886.js';
|
|
46
|
-
import './ConferenceBanner-
|
|
45
|
+
import './ConferenceBanner-8792ebd2.js';
|
|
47
46
|
import './ADSponsoredResources.js';
|
|
48
47
|
import './LeftNav.js';
|
|
49
48
|
import 'react-bootstrap/ListGroup';
|
|
@@ -53,12 +52,12 @@ import 'react-bootstrap';
|
|
|
53
52
|
import 'react-bootstrap/Nav';
|
|
54
53
|
import 'react-bootstrap/Navbar';
|
|
55
54
|
import 'react-bootstrap/NavDropdown';
|
|
56
|
-
import './index.esm-
|
|
57
|
-
import './iconBase-
|
|
58
|
-
import './index.esm-
|
|
59
|
-
import './NavFooter-
|
|
60
|
-
import './index.esm-
|
|
61
|
-
import './SocialSearchComponent-
|
|
55
|
+
import './index.esm-e874e770.js';
|
|
56
|
+
import './iconBase-ccc56b97.js';
|
|
57
|
+
import './index.esm-f6156a57.js';
|
|
58
|
+
import './NavFooter-e27bd93b.js';
|
|
59
|
+
import './index.esm-37268dca.js';
|
|
60
|
+
import './SocialSearchComponent-db963c3e.js';
|
|
62
61
|
import './SocialIcons.js';
|
|
63
62
|
import 'react-bootstrap/Form';
|
|
64
63
|
import 'react-bootstrap/FormControl';
|
|
@@ -101,15 +100,15 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
101
100
|
var navigation = function navigation() {
|
|
102
101
|
switch (config.navComponent) {
|
|
103
102
|
case 'normal':
|
|
104
|
-
return
|
|
103
|
+
return React__default.createElement(NavNormal, { logo: website.logo, dataObject: config.navItems });
|
|
105
104
|
case 'magazine':
|
|
106
|
-
return
|
|
105
|
+
return React__default.createElement(MagazineNav, { logo: website.logo, mobileLogo: website.mobileLogo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
107
106
|
case 'native':
|
|
108
|
-
return
|
|
107
|
+
return React__default.createElement(NavNative, { logo: website.logo, dataObject: config.navItems, subNav: config.leftItems, website: website });
|
|
109
108
|
case 'dvm':
|
|
110
|
-
return
|
|
109
|
+
return React__default.createElement(NavDvm, { logo: website.logo, dataObject: config.navItems, mobileLogo: website.logo, subNav: config.leftItems, website: website });
|
|
111
110
|
case 'hamburgerNav':
|
|
112
|
-
return
|
|
111
|
+
return React__default.createElement(HamMagazine, {
|
|
113
112
|
socialFooterNav: true,
|
|
114
113
|
logo: website.logo,
|
|
115
114
|
dataObject: config.navItems,
|
|
@@ -119,7 +118,7 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
119
118
|
showLogin: website.showLogin
|
|
120
119
|
});
|
|
121
120
|
default:
|
|
122
|
-
return
|
|
121
|
+
return React__default.createElement('noNav', null);
|
|
123
122
|
}
|
|
124
123
|
};
|
|
125
124
|
|
|
@@ -136,19 +135,19 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
136
135
|
function layout() {
|
|
137
136
|
switch (config.columns) {
|
|
138
137
|
case '1':
|
|
139
|
-
return
|
|
138
|
+
return React__default.createElement(
|
|
140
139
|
Column1,
|
|
141
140
|
{ title: title },
|
|
142
141
|
props.children
|
|
143
142
|
);
|
|
144
143
|
case '2':
|
|
145
|
-
return
|
|
144
|
+
return React__default.createElement(
|
|
146
145
|
Column2,
|
|
147
146
|
{ title: title, rightItems: config.rightItems, website: website },
|
|
148
147
|
props.children
|
|
149
148
|
);
|
|
150
149
|
case '3':
|
|
151
|
-
return
|
|
150
|
+
return React__default.createElement(
|
|
152
151
|
Column3,
|
|
153
152
|
{
|
|
154
153
|
title: title,
|
|
@@ -164,35 +163,35 @@ var TemplateNormal = function TemplateNormal(props) {
|
|
|
164
163
|
props.children
|
|
165
164
|
);
|
|
166
165
|
default:
|
|
167
|
-
return
|
|
166
|
+
return React__default.createElement('noLayout', null);
|
|
168
167
|
}
|
|
169
168
|
}
|
|
170
169
|
|
|
171
|
-
return
|
|
170
|
+
return React__default.createElement(
|
|
172
171
|
'section',
|
|
173
172
|
null,
|
|
174
|
-
noTitle ?
|
|
173
|
+
noTitle ? React__default.createElement(Header, {
|
|
175
174
|
isLiveSite: config.isLiveSite,
|
|
176
175
|
keyword: keywords,
|
|
177
176
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
178
|
-
}) :
|
|
177
|
+
}) : React__default.createElement(Header, {
|
|
179
178
|
title: title ? title + ' ' + (currentPage !== 0 ? '| Page ' + currentPage + ' ' : router && router.query && router.query.page ? '| Page ' + router.query.page + ' ' : '') + '| ' + website.title : website.title + ' ' + (currentPage !== 0 ? '| Page ' + currentPage + ' ' : router && router.query && router.query.page ? '| Page ' + router.query.page + ' ' : ''),
|
|
180
179
|
isLiveSite: config.isLiveSite,
|
|
181
180
|
keyword: keywords,
|
|
182
181
|
description: description + ('' + (router && router.query && router.query.page ? '| Page ' + router.query.page : ''))
|
|
183
182
|
}),
|
|
184
183
|
navigation(),
|
|
185
|
-
sponsoredFlag ?
|
|
186
|
-
|
|
184
|
+
sponsoredFlag ? React__default.createElement('div', { style: { height: '50px' } }) : React__default.createElement(
|
|
185
|
+
React__default.Fragment,
|
|
187
186
|
null,
|
|
188
|
-
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit &&
|
|
187
|
+
horizontalAD && horizontalAD.networkID && horizontalAD.adUnit && React__default.createElement(
|
|
189
188
|
Container,
|
|
190
189
|
null,
|
|
191
|
-
|
|
190
|
+
React__default.createElement(AD728x90, { networkID: horizontalAD.networkID, adUnit: horizontalAD.adUnit, targeting: adTargeting })
|
|
192
191
|
)
|
|
193
192
|
),
|
|
194
|
-
website.gutterAd && !sponsoredFlag &&
|
|
195
|
-
|
|
193
|
+
website.gutterAd && !sponsoredFlag && React__default.createElement(ADGutter, { title: 'gutter-ad', gutterAd: website.gutterAd }),
|
|
194
|
+
React__default.createElement(
|
|
196
195
|
Container,
|
|
197
196
|
null,
|
|
198
197
|
layout()
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Media from 'react-bootstrap/Media';
|
|
3
|
-
import
|
|
4
|
-
import { L as LazyLoad } from './index-
|
|
3
|
+
import { i as imageUrlBuilder } from './index-0dbff1d1.js';
|
|
4
|
+
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
6
|
-
import './index-0dbff1d1.js';
|
|
7
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
7
|
import 'react-dom';
|
|
9
8
|
import 'prop-types';
|
|
@@ -14,28 +13,33 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
|
14
13
|
client = _ref.client,
|
|
15
14
|
defaultImage = _ref.defaultImage;
|
|
16
15
|
|
|
16
|
+
var builder = imageUrlBuilder(client);
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
var urlFor = function urlFor(source) {
|
|
19
|
+
return builder.image(source).auto('format');
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
return React__default.createElement(
|
|
19
23
|
'div',
|
|
20
24
|
null,
|
|
21
25
|
mediaData && mediaData.map(function (item, index) {
|
|
22
|
-
return
|
|
26
|
+
return React__default.createElement(
|
|
23
27
|
Media,
|
|
24
28
|
{ className: 'mb-3 thumbnail-card' },
|
|
25
|
-
|
|
29
|
+
React__default.createElement(
|
|
26
30
|
LazyLoad,
|
|
27
31
|
{ height: size },
|
|
28
|
-
|
|
32
|
+
React__default.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor(item.thumbnail).url() : defaultImage, alt: 'Generic placeholder' })
|
|
29
33
|
),
|
|
30
|
-
|
|
34
|
+
React__default.createElement(
|
|
31
35
|
Media.Body,
|
|
32
36
|
null,
|
|
33
|
-
|
|
37
|
+
React__default.createElement(
|
|
34
38
|
'h5',
|
|
35
39
|
null,
|
|
36
40
|
item.title
|
|
37
41
|
),
|
|
38
|
-
|
|
42
|
+
React__default.createElement(
|
|
39
43
|
'p',
|
|
40
44
|
null,
|
|
41
45
|
clean_html_1(item.summary)
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
-
import
|
|
4
|
-
import { c as IoIosOpen } from './index.esm-
|
|
5
|
-
import { F as FaRegWindowClose } from './index.esm-
|
|
6
|
-
import { m as main_43 } from './main-
|
|
3
|
+
import React__default, { useState, useRef, useEffect } from 'react';
|
|
4
|
+
import { c as IoIosOpen } from './index.esm-f6156a57.js';
|
|
5
|
+
import { F as FaRegWindowClose } from './index.esm-d4932dea.js';
|
|
6
|
+
import { m as main_43 } from './main-d4165069.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
8
|
import './es6.string.iterator-bc33758b.js';
|
|
9
9
|
import './_to-object-b50e61c3.js';
|
|
@@ -11,7 +11,7 @@ import './web.dom.iterable-4109ff68.js';
|
|
|
11
11
|
import './_library-528f1934.js';
|
|
12
12
|
import './core.get-iterator-method-133dfacd.js';
|
|
13
13
|
import './_iter-detect-7e5e5ce2.js';
|
|
14
|
-
import './iconBase-
|
|
14
|
+
import './iconBase-ccc56b97.js';
|
|
15
15
|
|
|
16
16
|
var _this = undefined;
|
|
17
17
|
|
|
@@ -122,33 +122,33 @@ var Ustream = function Ustream(_ref) {
|
|
|
122
122
|
if (main_43) {
|
|
123
123
|
return null;
|
|
124
124
|
}
|
|
125
|
-
return
|
|
125
|
+
return React__default.createElement(
|
|
126
126
|
'div',
|
|
127
127
|
{ id: 'ustream-container', ref: ustreamContainer, style: { width: '' + currentWidth, marginBottom: '1rem' } },
|
|
128
|
-
|
|
128
|
+
React__default.createElement(
|
|
129
129
|
'div',
|
|
130
130
|
{ style: { position: 'relative' } },
|
|
131
|
-
close ?
|
|
131
|
+
close ? React__default.createElement(
|
|
132
132
|
'div',
|
|
133
133
|
{ className: 'ustream-close' },
|
|
134
|
-
|
|
135
|
-
) :
|
|
136
|
-
|
|
134
|
+
React__default.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1.3rem' } })
|
|
135
|
+
) : React__default.createElement(
|
|
136
|
+
React__default.Fragment,
|
|
137
137
|
null,
|
|
138
|
-
|
|
138
|
+
React__default.createElement(
|
|
139
139
|
'div',
|
|
140
140
|
{ className: 'ustream-minimize' },
|
|
141
|
-
|
|
141
|
+
React__default.createElement(IoIosOpen, { style: right ? { color: '#fff', fontSize: '1.3rem', transform: 'rotateZ(-90deg)' } : { color: '#fff', fontSize: '1.3rem' } })
|
|
142
142
|
),
|
|
143
|
-
|
|
143
|
+
React__default.createElement(
|
|
144
144
|
'div',
|
|
145
145
|
{ className: 'ustream-close' },
|
|
146
|
-
|
|
146
|
+
React__default.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1rem' } })
|
|
147
147
|
)
|
|
148
148
|
),
|
|
149
|
-
|
|
149
|
+
React__default.createElement('iframe', { id: 'ustream-iframe', webkitallowfullscreen: 'true', allowFullScreen: true, frameBorder: 'no', style: { maxWidth: '100%', height: currentHeight, width: currentWidth } })
|
|
150
150
|
),
|
|
151
|
-
|
|
151
|
+
React__default.createElement(
|
|
152
152
|
'style',
|
|
153
153
|
{ jsx: 'true' },
|
|
154
154
|
'\n #ustream-container {\n position: fixed;\n bottom: 0;\n ' + (right ? 'right: 1rem;' : 'left: 1.5rem;') + '\n /* Updating z-index to fix gutter ad over ustream */\n z-index: 999999;\n max-width: 100%;\n }\n .ustream-minimize,\n .ustream-close {\n position: absolute;\n color: white;\n right: 0.5rem;\n top: 0.25rem;\n cursor: pointer;\n font-weight: bold;\n }\n .ustream-close {\n ' + (close ? 'display: block; right: .75rem; top: .5rem; ' : 'display: none; right: .5rem; top: .75rem;') + '\n }\n @media screen and (max-width: 768px) {\n #ustream-container:not(.closed) {\n width: 231px !important;\n height: 130px !important;\n }\n #ustream-container:not(.closed) iframe {\n height: 130px !important;\n }\n }\n '
|
|
@@ -156,6 +156,6 @@ var Ustream = function Ustream(_ref) {
|
|
|
156
156
|
);
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
var Ustream$1 =
|
|
159
|
+
var Ustream$1 = React__default.memo(Ustream);
|
|
160
160
|
|
|
161
161
|
export default Ustream$1;
|