@mjhls/mjh-framework 1.0.587 → 1.0.588-hamMagazine-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 +172 -172
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +7 -8
- package/dist/cjs/AD300x250x600.js +7 -8
- package/dist/cjs/AD728x90.js +10 -11
- package/dist/cjs/ADFloatingFooter.js +14 -15
- package/dist/cjs/ADFooter.js +8 -9
- package/dist/cjs/ADGutter.js +11 -12
- package/dist/cjs/{ADInfeed-fdbd80ea.js → ADInfeed-df340285.js} +9 -11
- package/dist/cjs/ADSkyscraper.js +11 -12
- package/dist/cjs/ADSponsoredResources.js +10 -11
- package/dist/cjs/ADWebcast.js +10 -11
- package/dist/cjs/ADWelcome.js +15 -16
- package/dist/cjs/{ADlgInfeed-ecd2642c.js → ADlgInfeed-2110d08c.js} +6 -7
- package/dist/cjs/AccordionPanel.js +22 -24
- package/dist/cjs/AdSlot.js +13 -15
- package/dist/cjs/AdSlotsProvider.js +5 -6
- package/dist/cjs/AlphabeticList.js +15 -16
- package/dist/cjs/ArticleQueue.js +112 -115
- package/dist/cjs/Auth.js +139 -227
- package/dist/cjs/{AuthorComponent-5bb8f868.js → AuthorComponent-cb8b8128.js} +12 -13
- package/dist/cjs/{BlockContent-8b494587.js → BlockContent-c2168db0.js} +24 -26
- package/dist/cjs/Breadcrumbs.js +21 -23
- package/dist/cjs/CMEDeck.js +61 -61
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +19 -22
- package/dist/cjs/Column3.js +32 -35
- package/dist/cjs/ConferenceArticleCard.js +33 -34
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +81 -85
- package/dist/cjs/DeckQueue.js +69 -73
- package/dist/cjs/{Dfp-a06d722a.js → Dfp-fcdeabc4.js} +20 -22
- package/dist/cjs/EventsDeck.js +106 -113
- package/dist/cjs/ExternalResources.js +42 -43
- package/dist/cjs/Feature.js +24 -26
- package/dist/cjs/ForbesHero.js +33 -34
- package/dist/cjs/GridContent.js +144 -148
- package/dist/cjs/GridHero.js +34 -35
- package/dist/cjs/GroupDeck.js +37 -38
- package/dist/cjs/HamMagazine.js +312 -134
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +10 -11
- package/dist/cjs/HighlightenVideo.js +16 -17
- package/dist/cjs/HorizontalHero.js +24 -25
- package/dist/cjs/{InscreenSensor-1f9f7db4.js → InscreenSensor-3aec8492.js} +7 -8
- package/dist/cjs/IssueContentDeck.js +65 -70
- package/dist/cjs/IssueDeck.js +60 -65
- package/dist/cjs/IssueLanding.js +46 -47
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +20 -22
- package/dist/cjs/MasterDeck.js +59 -60
- package/dist/cjs/NavDvm.js +63 -68
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +146 -155
- package/dist/cjs/NavNative.js +102 -111
- package/dist/cjs/NavNormal.js +36 -41
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +58 -59
- package/dist/cjs/PageFilter.js +8 -9
- package/dist/cjs/PartnerDetailListing.js +132 -134
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +13 -15
- package/dist/cjs/PublicationDeck.js +58 -63
- package/dist/cjs/PublicationLanding.js +81 -85
- package/dist/cjs/QueueDeckExpanded.js +216 -216
- package/dist/cjs/RelatedContent.js +46 -47
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +12 -16
- package/dist/cjs/SideFooter.js +23 -24
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +54 -59
- package/dist/cjs/TemplateNormal.js +34 -36
- package/dist/cjs/ThumbnailCard.js +17 -19
- package/dist/cjs/Ustream.js +20 -21
- package/dist/cjs/VerticalHero.js +16 -17
- package/dist/cjs/VideoSeriesFilter.js +10 -10
- package/dist/cjs/VideoSeriesListing.js +38 -39
- package/dist/cjs/View.js +160 -165
- package/dist/cjs/YahooHero.js +29 -30
- package/dist/cjs/YoutubeGroup.js +46 -47
- package/dist/cjs/{brightcove-react-player-loader.es-5c98aec7.js → brightcove-react-player-loader.es-156bd4d6.js} +8 -10
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +9 -9
- package/dist/cjs/getSerializers.js +258 -268
- package/dist/cjs/{getTargeting-86e68d62.js → getTargeting-b15993cb.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-99edf08a.js → index-3294d3bc.js} +1 -1
- package/dist/cjs/{index-b5eb3ff8.js → index-39beccb3.js} +18 -18
- package/dist/cjs/{index-8a3fb0bc.js → index-fa0fb52c.js} +10 -13
- package/dist/cjs/{index-44481153.js → index-fa3cec70.js} +14 -14
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-99553d28.js → index.esm-876ca9ff.js} +12 -8
- package/dist/cjs/{index.esm-55da9104.js → index.esm-89fabc47.js} +6 -3
- package/dist/cjs/index.esm-d1259b34.js +90 -0
- package/dist/cjs/index.js +28 -29
- package/dist/cjs/{inherits-4a2f1cc3.js → inherits-14962339.js} +4 -4
- package/dist/cjs/{main-c50facd7.js → main-88348b15.js} +53 -89
- package/dist/cjs/{moment-ca3bd9fb.js → moment-575fe24c.js} +8 -10
- package/dist/cjs/{react-social-icons-07939b41.js → react-social-icons-cd0d9d3b.js} +11 -13
- package/dist/cjs/{typeof-583cdc4b.js → typeof-1869832c.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +5 -5
- package/dist/esm/AD300x250x600.js +5 -5
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +12 -12
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-ed104a2b.js → ADInfeed-db7610fb.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +8 -8
- package/dist/esm/ADWebcast.js +8 -8
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-dfde985e.js → ADlgInfeed-4bb11153.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleQueue.js +98 -98
- package/dist/esm/Auth.js +123 -207
- package/dist/esm/{AuthorComponent-f67cb027.js → AuthorComponent-158226c9.js} +10 -10
- package/dist/esm/{BlockContent-d05b5b23.js → BlockContent-c409aca5.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +58 -58
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -24
- package/dist/esm/ConferenceArticleCard.js +29 -29
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +62 -62
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-0557840a.js → Dfp-81a052c2.js} +10 -10
- package/dist/esm/EventsDeck.js +64 -64
- package/dist/esm/ExternalResources.js +36 -36
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +106 -106
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +34 -34
- package/dist/esm/HamMagazine.js +285 -102
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/{InscreenSensor-3e1fe82a.js → InscreenSensor-280b2b10.js} +5 -5
- package/dist/esm/IssueContentDeck.js +41 -41
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +44 -44
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +53 -53
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +113 -114
- package/dist/esm/NavNative.js +77 -78
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +15 -14
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +72 -72
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +34 -34
- package/dist/esm/PublicationLanding.js +61 -61
- package/dist/esm/QueueDeckExpanded.js +197 -197
- package/dist/esm/RelatedContent.js +43 -43
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +36 -36
- package/dist/esm/TemplateNormal.js +28 -29
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +7 -7
- package/dist/esm/VideoSeriesListing.js +33 -33
- package/dist/esm/View.js +139 -139
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +37 -37
- package/dist/esm/{brightcove-react-player-loader.es-4abff0b1.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +2 -2
- package/dist/esm/getSerializers.js +216 -220
- package/dist/esm/{getTargeting-1f2c61e3.js → getTargeting-1a0bd08d.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/esm/{index-51a80699.js → index-3849e3fe.js} +18 -18
- package/dist/esm/{index-1819118a.js → index-3f4dd6f2.js} +9 -7
- package/dist/esm/{index-c5fd0af5.js → index-5f9f807a.js} +4 -4
- package/dist/esm/{index-fa2ffe86.js → index-ef6d5dcf.js} +1 -1
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/{cjs/SocialNavFooter-d9ab4d17.js → esm/index.esm-73e847d2.js} +23 -22
- package/dist/esm/{index.esm-116f3274.js → index.esm-85cb09e6.js} +13 -8
- package/dist/esm/{index.esm-16e9450c.js → index.esm-9a4c8813.js} +6 -3
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/index.js +24 -25
- package/dist/esm/{inherits-2758cc14.js → inherits-b8e4c697.js} +1 -1
- package/dist/esm/{main-b722e2e2.js → main-d7ee6151.js} +52 -87
- package/dist/esm/{moment-b6f49411.js → moment-e2f9b20c.js} +8 -10
- package/dist/esm/{react-social-icons-3822f1ce.js → react-social-icons-a7d5c5c7.js} +5 -5
- package/dist/esm/{typeof-7e72fee0.js → typeof-5f046efd.js} +1 -1
- package/dist/esm/urlFor.js +2 -2
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/index.esm-d02b6c3d.js +0 -10
- package/dist/esm/SocialNavFooter-1a531144.js +0 -77
- package/dist/esm/index.esm-cc28490f.js +0 -8
package/dist/esm/Header.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React__default from 'react';
|
|
2
2
|
import Head from 'next/head';
|
|
3
3
|
|
|
4
4
|
var Header = function Header(props) {
|
|
@@ -8,21 +8,21 @@ var Header = function Header(props) {
|
|
|
8
8
|
isLiveSite = props.isLiveSite;
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
return
|
|
11
|
+
return React__default.createElement(
|
|
12
12
|
Head,
|
|
13
13
|
null,
|
|
14
|
-
title &&
|
|
14
|
+
title && React__default.createElement(
|
|
15
15
|
'title',
|
|
16
16
|
null,
|
|
17
17
|
title
|
|
18
18
|
),
|
|
19
|
-
keyword &&
|
|
20
|
-
description &&
|
|
21
|
-
!isLiveSite &&
|
|
19
|
+
keyword && React__default.createElement('meta', { name: 'keywords', content: keyword }),
|
|
20
|
+
description && React__default.createElement('meta', { name: 'description', content: description }),
|
|
21
|
+
!isLiveSite && React__default.createElement('meta', { name: 'robots', content: 'noindex, nofollow' })
|
|
22
22
|
);
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
var Header$1 =
|
|
25
|
+
var Header$1 = React__default.memo(Header);
|
|
26
26
|
|
|
27
27
|
export default Header$1;
|
|
28
28
|
export { Header };
|
package/dist/esm/Hero.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
5
5
|
import { Card } from 'react-bootstrap';
|
|
6
6
|
|
|
@@ -26,19 +26,19 @@ var Hero = function Hero(_ref) {
|
|
|
26
26
|
thumbnail = data.thumbnail,
|
|
27
27
|
url = data.url;
|
|
28
28
|
|
|
29
|
-
return
|
|
29
|
+
return React__default.createElement(
|
|
30
30
|
'a',
|
|
31
31
|
{ href: '/view/' + url.current },
|
|
32
|
-
|
|
32
|
+
React__default.createElement(
|
|
33
33
|
Card,
|
|
34
34
|
{ bsPrefix: 'hero-card' },
|
|
35
|
-
title &&
|
|
35
|
+
title && React__default.createElement(
|
|
36
36
|
Card.Header,
|
|
37
37
|
{ className: 'h4' },
|
|
38
38
|
title
|
|
39
39
|
),
|
|
40
|
-
thumbnail && client &&
|
|
41
|
-
summary &&
|
|
40
|
+
thumbnail && client && React__default.createElement(Card.Img, { src: renderCardImage(thumbnail, client, imageHeight, imageWidth) }),
|
|
41
|
+
summary && React__default.createElement(
|
|
42
42
|
Card.Footer,
|
|
43
43
|
{ className: 'h6' },
|
|
44
44
|
clean_html_1(summary)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import { R as ReactPlayerLoader } from './brightcove-react-player-loader.es-83f53e4e.js';
|
|
4
4
|
|
|
5
5
|
var HighlightenVideo = function HighlightenVideo(_ref) {
|
|
6
6
|
var highlightVideoOptions = _ref.highlightVideoOptions;
|
|
@@ -11,24 +11,24 @@ var HighlightenVideo = function HighlightenVideo(_ref) {
|
|
|
11
11
|
videoId = highlightVideoOptions.videoId;
|
|
12
12
|
|
|
13
13
|
if (accountId && experienceId) {
|
|
14
|
-
return
|
|
15
|
-
|
|
14
|
+
return React__default.createElement(
|
|
15
|
+
React__default.Fragment,
|
|
16
16
|
null,
|
|
17
|
-
|
|
17
|
+
React__default.createElement(
|
|
18
18
|
'div',
|
|
19
19
|
{ className: 'brightcove-experience-player' },
|
|
20
|
-
|
|
20
|
+
React__default.createElement(
|
|
21
21
|
'p',
|
|
22
22
|
{ style: { width: '100%' } },
|
|
23
23
|
'Highlighted Videos'
|
|
24
24
|
),
|
|
25
|
-
|
|
25
|
+
React__default.createElement(
|
|
26
26
|
'div',
|
|
27
27
|
{ className: 'playlist-player', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
28
|
-
|
|
28
|
+
React__default.createElement(
|
|
29
29
|
'div',
|
|
30
30
|
{ style: { paddingTop: '56.25%' } },
|
|
31
|
-
|
|
31
|
+
React__default.createElement('iframe', {
|
|
32
32
|
src: 'https://players.brightcove.net/' + accountId + '/' + experienceId + '/share.html',
|
|
33
33
|
allowFullScreen: true,
|
|
34
34
|
allow: 'encrypted-media',
|
|
@@ -37,23 +37,23 @@ var HighlightenVideo = function HighlightenVideo(_ref) {
|
|
|
37
37
|
)
|
|
38
38
|
)
|
|
39
39
|
),
|
|
40
|
-
|
|
40
|
+
React__default.createElement(
|
|
41
41
|
'style',
|
|
42
42
|
{ jsx: 'true' },
|
|
43
43
|
'\n @media (min-width: 320px) {\n .playlist-player {\n height: 290px;\n }\n }\n @media (min-width: 360px) {\n .playlist-player {\n height: 340px;\n }\n }\n @media (min-width: 480px) {\n .playlist-player {\n height: 400px;\n }\n }\n @media (min-width: 560px) {\n .playlist-player {\n height: 300px;\n }\n }\n @media (min-width: 768px) {\n .playlist-player {\n height: 400px;\n }\n }\n @media (min-width: 968px) {\n .playlist-player {\n height: 300px;\n }\n }\n @media (min-width: 992px) {\n .playlist-player {\n height: 350px;\n }\n }\n @media (min-width: 1192px) {\n .playlist-player {\n height: 300px;\n }\n }\n @media (min-width: 1400px) {\n .playlist-player {\n height: 400px;\n }\n }\n .brightcove-experience-player {\n margin-bottom: 10px;\n width: 100%;\n }\n .brightcove-experience-player p {\n padding: 10px;\n margin: 0;\n color: #fff;\n text-transform: uppercase;\n text-align: center;\n font-size: 1.5em;\n font-weight: 400;\n margin-bottom: 10px;\n }\n '
|
|
44
44
|
)
|
|
45
45
|
);
|
|
46
46
|
} else if (accountId && playerId && playlistId) {
|
|
47
|
-
return
|
|
47
|
+
return React__default.createElement(
|
|
48
48
|
'div',
|
|
49
49
|
{ className: 'brightcove-playlist-player' },
|
|
50
|
-
|
|
50
|
+
React__default.createElement(ReactPlayerLoader, { accountId: accountId, playerId: playerId, playlistId: playlistId, attrs: { className: 'brightcove' } })
|
|
51
51
|
);
|
|
52
52
|
} else if (accountId && playerId && videoId) {
|
|
53
|
-
return
|
|
53
|
+
return React__default.createElement(
|
|
54
54
|
'div',
|
|
55
55
|
{ className: 'brightcove-video-player' },
|
|
56
|
-
|
|
56
|
+
React__default.createElement(ReactPlayerLoader, { accountId: accountId, playerId: playerId, videoId: videoId, attrs: { className: 'brightcove' } })
|
|
57
57
|
);
|
|
58
58
|
} else {
|
|
59
59
|
return null;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
2
|
+
import React__default from 'react';
|
|
3
|
+
import './moment-e2f9b20c.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
5
5
|
import './iconBase-602d52fe.js';
|
|
6
|
-
import { a as FaLongArrowAltRight } from './index.esm-
|
|
6
|
+
import { a as FaLongArrowAltRight } from './index.esm-9a4c8813.js';
|
|
7
7
|
|
|
8
8
|
var HorizontalHero = function HorizontalHero(props) {
|
|
9
9
|
var client = props.client;
|
|
@@ -30,44 +30,44 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
30
30
|
topArticleThumbnail = props.thumbnail;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
return
|
|
33
|
+
return React__default.createElement(
|
|
34
34
|
'div',
|
|
35
35
|
{ className: 'horizontal-hero-container', style: { borderRight: '3px solid ' + borderColor, borderTop: '3px solid ' + borderColor } },
|
|
36
|
-
|
|
36
|
+
React__default.createElement(
|
|
37
37
|
'div',
|
|
38
38
|
{ className: 'horizontal-hero-title' },
|
|
39
|
-
|
|
39
|
+
React__default.createElement(
|
|
40
40
|
'h2',
|
|
41
41
|
null,
|
|
42
42
|
heroTitle
|
|
43
43
|
),
|
|
44
|
-
|
|
44
|
+
React__default.createElement('div', null)
|
|
45
45
|
),
|
|
46
|
-
|
|
46
|
+
React__default.createElement(
|
|
47
47
|
'div',
|
|
48
48
|
{ className: 'horizontal-hero-inner' },
|
|
49
|
-
|
|
49
|
+
React__default.createElement(
|
|
50
50
|
'a',
|
|
51
51
|
{ href: '/view/' + topArticle.url.current, className: 'horizontal-hero-img' },
|
|
52
|
-
|
|
52
|
+
React__default.createElement('img', { style: { objectFit: props.imageSize ? props.imageSize : 'cover' }, src: topArticleThumbnail, alt: topArticleAltText })
|
|
53
53
|
),
|
|
54
|
-
|
|
54
|
+
React__default.createElement(
|
|
55
55
|
'div',
|
|
56
56
|
{ className: 'horizontal-articles-wrap' },
|
|
57
|
-
|
|
57
|
+
React__default.createElement(
|
|
58
58
|
'a',
|
|
59
59
|
{ href: '/view/' + topArticle.url.current, className: 'horizontal-article' },
|
|
60
|
-
|
|
60
|
+
React__default.createElement(
|
|
61
61
|
'p',
|
|
62
62
|
null,
|
|
63
63
|
topArticle.title
|
|
64
64
|
)
|
|
65
65
|
),
|
|
66
66
|
subArticles.map(function (article, index) {
|
|
67
|
-
return
|
|
67
|
+
return React__default.createElement(
|
|
68
68
|
'a',
|
|
69
69
|
{ key: index, href: '/view/' + article.url.current, className: 'horizontal-article' },
|
|
70
|
-
|
|
70
|
+
React__default.createElement(
|
|
71
71
|
'p',
|
|
72
72
|
null,
|
|
73
73
|
article.title
|
|
@@ -76,23 +76,23 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
76
76
|
})
|
|
77
77
|
)
|
|
78
78
|
),
|
|
79
|
-
props.linkTo &&
|
|
79
|
+
props.linkTo && React__default.createElement(
|
|
80
80
|
'div',
|
|
81
81
|
{ className: 'horizontal-view-more' },
|
|
82
|
-
|
|
82
|
+
React__default.createElement(
|
|
83
83
|
'a',
|
|
84
84
|
{ href: props.linkTo },
|
|
85
85
|
props.linkTitle ? props.linkTitle : 'View More' + heroTitle,
|
|
86
86
|
' ',
|
|
87
87
|
' ',
|
|
88
|
-
|
|
88
|
+
React__default.createElement(
|
|
89
89
|
'span',
|
|
90
90
|
null,
|
|
91
|
-
|
|
91
|
+
React__default.createElement(FaLongArrowAltRight, { color: 'var(--primary)' })
|
|
92
92
|
)
|
|
93
93
|
)
|
|
94
94
|
),
|
|
95
|
-
|
|
95
|
+
React__default.createElement(
|
|
96
96
|
'style',
|
|
97
97
|
{ jsx: 'true' },
|
|
98
98
|
'\n .horizontal-hero-container {\n margin-bottom: 3rem;\n margin-top: 2rem;\n position: relative;\n }\n .horizontal-hero-title {\n position: absolute;\n top: -25px;\n background: white;\n z-index: 2;\n padding-right: 1rem;\n font-weight: bold;\n }\n .horizontal-hero-inner {\n display: flex;\n flex-direction: row;\n padding-top: 0.75rem;\n margin-top: 0.75rem;\n }\n\n .horizontal-articles-wrap {\n padding: 0 1rem;\n flex-basis: 60%;\n }\n\n .horizontal-hero-img {\n flex-basis: 40%;\n }\n .horizontal-hero-img img {\n width: 100%;\n height: 100%;\n \n }\n .horizontal-article {\n border-bottom: 1px solid #ccc;\n display: block;\n margin-bottom: 0.5rem;\n }\n .horizontal-article:hover {\n background: #eee;\n }\n .horizontal-article p {\n font-size: 1.1rem;\n margin-bottom: 0.5rem;\n font-weight: bold;\n color: #252525;\n }\n .horizontal-view-more {\n position: absolute;\n right: 0;\n margin-top: 0.25rem;\n font-weight: bold;\n }\n .horizontal-view-more span {\n display: inline-block;\n color: rgb(81, 116, 153);\n font-size: 1.2rem;\n }\n @media screen and (max-width: 1191px){\n \n .horizontal-article > p {\n font-size: 1rem;\n }\n }\n \n @media screen and (max-width: 768px) {\n .horizontal-hero-img {\n display: none;\n }\n .horizontal-articles-wrap {\n \n flex-basis: 100%;\n }\n }\n @media screen and (max-width: 495px) {\n \n .horizontal-article > p {\n font-size: 1rem;\n }\n }\n '
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createCommonjsModule } from './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
3
|
-
import
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-b8e4c697.js';
|
|
3
|
+
import React__default from 'react';
|
|
4
4
|
import { i as isObjectLike_1, _ as _baseGetTag, a as _root, e as _freeGlobal } from './isSymbol-b7b7434f.js';
|
|
5
5
|
|
|
6
6
|
/** Used as references for various `Number` constants. */
|
|
@@ -310,7 +310,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
312
|
|
|
313
|
-
_this.wraperRef =
|
|
313
|
+
_this.wraperRef = React__default.createRef();
|
|
314
314
|
_this.visible = false;
|
|
315
315
|
return _this;
|
|
316
316
|
}
|
|
@@ -338,7 +338,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
338
338
|
_props$id = _props.id,
|
|
339
339
|
id = _props$id === undefined ? '' : _props$id;
|
|
340
340
|
|
|
341
|
-
return
|
|
341
|
+
return React__default.createElement(
|
|
342
342
|
'div',
|
|
343
343
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
344
344
|
this.props.children
|
|
@@ -347,6 +347,6 @@ var InscreenSensor = function (_React$Component) {
|
|
|
347
347
|
}]);
|
|
348
348
|
|
|
349
349
|
return InscreenSensor;
|
|
350
|
-
}(
|
|
350
|
+
}(React__default.Component);
|
|
351
351
|
|
|
352
352
|
export { InscreenSensor as I, isArguments_1 as a, isBuffer_1 as b, isTypedArray_1 as c, isLength_1 as i };
|
|
@@ -2,17 +2,17 @@ import './_commonjsHelpers-0c4b6f40.js';
|
|
|
2
2
|
import './_to-object-16fd8b46.js';
|
|
3
3
|
import './core.get-iterator-method-f5c0d66a.js';
|
|
4
4
|
import './web.dom.iterable-46c95e52.js';
|
|
5
|
-
import
|
|
5
|
+
import React__default from 'react';
|
|
6
6
|
import 'prop-types';
|
|
7
7
|
import Row from 'react-bootstrap/Row';
|
|
8
8
|
import Col from 'react-bootstrap/Col';
|
|
9
9
|
import Card from 'react-bootstrap/Card';
|
|
10
|
-
import { m as moment } from './moment-
|
|
10
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
11
11
|
import 'react-dom';
|
|
12
|
-
import { i as imageUrlBuilder } from './index-
|
|
13
|
-
import { L as LazyLoad } from './index-
|
|
12
|
+
import { i as imageUrlBuilder } from './index-3849e3fe.js';
|
|
13
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
14
14
|
import './slicedToArray-f1e40361.js';
|
|
15
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
15
|
+
import { A as AuthorComponent } from './AuthorComponent-158226c9.js';
|
|
16
16
|
import Badge from 'react-bootstrap/Badge';
|
|
17
17
|
|
|
18
18
|
var urlFor = function urlFor(source, client) {
|
|
@@ -52,25 +52,25 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
52
52
|
index = props.index,
|
|
53
53
|
source = props.source;
|
|
54
54
|
|
|
55
|
-
return
|
|
55
|
+
return React__default.createElement(
|
|
56
56
|
Col,
|
|
57
57
|
{ md: 12, lg: 12, key: index },
|
|
58
|
-
|
|
58
|
+
React__default.createElement(
|
|
59
59
|
Card,
|
|
60
60
|
{ style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
|
|
61
|
-
|
|
61
|
+
React__default.createElement(
|
|
62
62
|
'div',
|
|
63
63
|
{ style: { display: 'flex', flex: '1 0 auto', paddingBottom: '1rem' } },
|
|
64
|
-
coverImage &&
|
|
64
|
+
coverImage && React__default.createElement(
|
|
65
65
|
'div',
|
|
66
66
|
{ style: { display: 'flex', flexDirection: 'column', justifyContent: 'center' } },
|
|
67
|
-
|
|
67
|
+
React__default.createElement(
|
|
68
68
|
'a',
|
|
69
69
|
{ href: '/view/' + link },
|
|
70
|
-
|
|
70
|
+
React__default.createElement(
|
|
71
71
|
LazyLoad,
|
|
72
72
|
{ height: imageHeight },
|
|
73
|
-
|
|
73
|
+
React__default.createElement(Card.Img, {
|
|
74
74
|
variant: 'right',
|
|
75
75
|
src: renderCardImage({ coverImage: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, client: client, Settings: Settings }),
|
|
76
76
|
alt: title,
|
|
@@ -78,60 +78,60 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
78
78
|
})
|
|
79
79
|
)
|
|
80
80
|
),
|
|
81
|
-
source &&
|
|
81
|
+
source && React__default.createElement(
|
|
82
82
|
'div',
|
|
83
83
|
{ className: 'mb-2 sanityDisplayLabel displayLabelThumb' },
|
|
84
84
|
source
|
|
85
85
|
)
|
|
86
86
|
),
|
|
87
|
-
|
|
87
|
+
React__default.createElement(
|
|
88
88
|
Card.Body,
|
|
89
89
|
{ style: { padding: '0.5rem' } },
|
|
90
|
-
section ?
|
|
90
|
+
section ? React__default.createElement(
|
|
91
91
|
Badge,
|
|
92
92
|
{ variant: 'success' },
|
|
93
93
|
section.name
|
|
94
94
|
) : '',
|
|
95
|
-
|
|
95
|
+
React__default.createElement(
|
|
96
96
|
Card.Title,
|
|
97
97
|
{ style: { color: '#121212', fontSize: '1.1rem' } },
|
|
98
|
-
|
|
98
|
+
React__default.createElement(
|
|
99
99
|
'a',
|
|
100
100
|
{ href: '/view/' + link },
|
|
101
|
-
|
|
101
|
+
React__default.createElement(
|
|
102
102
|
'span',
|
|
103
103
|
null,
|
|
104
104
|
title
|
|
105
105
|
)
|
|
106
106
|
),
|
|
107
|
-
|
|
107
|
+
React__default.createElement('br', null)
|
|
108
108
|
),
|
|
109
|
-
|
|
109
|
+
React__default.createElement(
|
|
110
110
|
'div',
|
|
111
111
|
{ style: { float: 'left' } },
|
|
112
|
-
source && !coverImage &&
|
|
112
|
+
source && !coverImage && React__default.createElement(
|
|
113
113
|
'div',
|
|
114
114
|
{ className: 'content-category-label' },
|
|
115
|
-
|
|
115
|
+
React__default.createElement(
|
|
116
116
|
'div',
|
|
117
117
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
118
118
|
source
|
|
119
119
|
)
|
|
120
120
|
),
|
|
121
|
-
|
|
121
|
+
React__default.createElement(
|
|
122
122
|
'p',
|
|
123
123
|
{ style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
|
|
124
124
|
moment(published).format('MMMM DD, YYYY ')
|
|
125
125
|
),
|
|
126
|
-
author.length > 0 &&
|
|
126
|
+
author.length > 0 && React__default.createElement(
|
|
127
127
|
LazyLoad,
|
|
128
128
|
{ height: 50 },
|
|
129
|
-
|
|
129
|
+
React__default.createElement(AuthorComponent, { key: index.toString(), index: index, authors: author })
|
|
130
130
|
)
|
|
131
131
|
)
|
|
132
132
|
)
|
|
133
133
|
),
|
|
134
|
-
|
|
134
|
+
React__default.createElement(
|
|
135
135
|
'p',
|
|
136
136
|
{ style: { paddingLeft: '0.5rem' } },
|
|
137
137
|
summary
|
|
@@ -151,29 +151,29 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
151
151
|
Settings = props.Settings,
|
|
152
152
|
index = props.index;
|
|
153
153
|
|
|
154
|
-
return
|
|
154
|
+
return React__default.createElement(
|
|
155
155
|
Col,
|
|
156
156
|
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
157
|
-
|
|
157
|
+
React__default.createElement(
|
|
158
158
|
Card,
|
|
159
159
|
null,
|
|
160
|
-
|
|
160
|
+
React__default.createElement(
|
|
161
161
|
'a',
|
|
162
162
|
{ href: '/view/' + link },
|
|
163
|
-
coverImage &&
|
|
163
|
+
coverImage && React__default.createElement(
|
|
164
164
|
LazyLoad,
|
|
165
165
|
{ height: imageHeight },
|
|
166
|
-
|
|
166
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage({ coverImage: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, client: client, Settings: Settings }), alt: title })
|
|
167
167
|
),
|
|
168
|
-
|
|
168
|
+
React__default.createElement(
|
|
169
169
|
Card.Body,
|
|
170
170
|
null,
|
|
171
|
-
section && section.name ?
|
|
171
|
+
section && section.name ? React__default.createElement(
|
|
172
172
|
Badge,
|
|
173
173
|
{ variant: 'success' },
|
|
174
174
|
section && section.name
|
|
175
175
|
) : '',
|
|
176
|
-
|
|
176
|
+
React__default.createElement(
|
|
177
177
|
Card.Title,
|
|
178
178
|
null,
|
|
179
179
|
title
|
|
@@ -193,12 +193,12 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
193
193
|
_props$variant = props.variant,
|
|
194
194
|
variant = _props$variant === undefined ? 'block' : _props$variant;
|
|
195
195
|
|
|
196
|
-
return
|
|
196
|
+
return React__default.createElement(
|
|
197
197
|
Row,
|
|
198
198
|
null,
|
|
199
199
|
data && data.length ? data.map(function (row, index) {
|
|
200
200
|
if (variant === 'stack') {
|
|
201
|
-
return row.url && row.url.current &&
|
|
201
|
+
return row.url && row.url.current && React__default.createElement(PublicationDeckStack, {
|
|
202
202
|
index: index,
|
|
203
203
|
title: row.title,
|
|
204
204
|
coverImage: row.thumbnail,
|
|
@@ -214,7 +214,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
214
214
|
summary: row.summary
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
|
-
return
|
|
217
|
+
return React__default.createElement(PublicationDeckBlock, {
|
|
218
218
|
index: index,
|
|
219
219
|
title: row.title,
|
|
220
220
|
coverImage: row.thumbnail,
|
|
@@ -225,20 +225,20 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
225
225
|
imageWidth: imageWidth,
|
|
226
226
|
client: client
|
|
227
227
|
});
|
|
228
|
-
}) :
|
|
228
|
+
}) : React__default.createElement(
|
|
229
229
|
'div',
|
|
230
230
|
null,
|
|
231
|
-
|
|
231
|
+
React__default.createElement(
|
|
232
232
|
'h5',
|
|
233
233
|
null,
|
|
234
|
-
|
|
234
|
+
React__default.createElement(
|
|
235
235
|
'em',
|
|
236
236
|
{ className: 'pl-3' },
|
|
237
237
|
'New content coming soon, please check back later.'
|
|
238
238
|
)
|
|
239
239
|
)
|
|
240
240
|
),
|
|
241
|
-
|
|
241
|
+
React__default.createElement(
|
|
242
242
|
'style',
|
|
243
243
|
{ jsx: 'true' },
|
|
244
244
|
'\n .displayLabelThumb {\n margin: 0 auto;\n margin-top: -1.25rem;\n background-color: white;\n position: relative;\n }\n .content-category-label {\n margin: 0.5rem 0;\n display: block;\n }\n .sanityDisplayLabel {\n margin: 0.5rem 0;\n border: 1px solid black;\n width: 100%;\n display: inline;\n max-width: 240px;\n padding: 5px;\n color: #484848;\n border-radius: 2px;\n }\n '
|