@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/cjs/Header.js
CHANGED
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
var Head = require('next/head');
|
|
7
|
-
|
|
8
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
5
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
9
6
|
|
|
10
|
-
var
|
|
11
|
-
var
|
|
7
|
+
var React = require('react');
|
|
8
|
+
var React__default = _interopDefault(React);
|
|
9
|
+
var Head = _interopDefault(require('next/head'));
|
|
12
10
|
|
|
13
11
|
var Header = function Header(props) {
|
|
14
12
|
var title = props.title,
|
|
@@ -17,21 +15,21 @@ var Header = function Header(props) {
|
|
|
17
15
|
isLiveSite = props.isLiveSite;
|
|
18
16
|
|
|
19
17
|
|
|
20
|
-
return React__default
|
|
21
|
-
|
|
18
|
+
return React__default.createElement(
|
|
19
|
+
Head,
|
|
22
20
|
null,
|
|
23
|
-
title && React__default
|
|
21
|
+
title && React__default.createElement(
|
|
24
22
|
'title',
|
|
25
23
|
null,
|
|
26
24
|
title
|
|
27
25
|
),
|
|
28
|
-
keyword && React__default
|
|
29
|
-
description && React__default
|
|
30
|
-
!isLiveSite && React__default
|
|
26
|
+
keyword && React__default.createElement('meta', { name: 'keywords', content: keyword }),
|
|
27
|
+
description && React__default.createElement('meta', { name: 'description', content: description }),
|
|
28
|
+
!isLiveSite && React__default.createElement('meta', { name: 'robots', content: 'noindex, nofollow' })
|
|
31
29
|
);
|
|
32
30
|
};
|
|
33
31
|
|
|
34
|
-
var Header$1 = React__default
|
|
32
|
+
var Header$1 = React__default.memo(Header);
|
|
35
33
|
|
|
36
34
|
exports.Header = Header;
|
|
37
35
|
exports.default = Header$1;
|
package/dist/cjs/Hero.js
CHANGED
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
3
5
|
require('./_commonjsHelpers-06173234.js');
|
|
4
6
|
var React = require('react');
|
|
5
|
-
var
|
|
7
|
+
var React__default = _interopDefault(React);
|
|
8
|
+
var index$1 = require('./index-39beccb3.js');
|
|
6
9
|
var entities = require('./entities-310b46ee.js');
|
|
7
10
|
var reactBootstrap = require('react-bootstrap');
|
|
8
11
|
|
|
9
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
10
|
-
|
|
11
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
12
|
-
|
|
13
12
|
var urlFor = function urlFor(source, client) {
|
|
14
|
-
var builder = index.imageUrlBuilder(client);
|
|
13
|
+
var builder = index$1.imageUrlBuilder(client);
|
|
15
14
|
return builder.image(source).auto('format');
|
|
16
15
|
};
|
|
17
16
|
|
|
@@ -32,19 +31,19 @@ var Hero = function Hero(_ref) {
|
|
|
32
31
|
thumbnail = data.thumbnail,
|
|
33
32
|
url = data.url;
|
|
34
33
|
|
|
35
|
-
return React__default
|
|
34
|
+
return React__default.createElement(
|
|
36
35
|
'a',
|
|
37
36
|
{ href: '/view/' + url.current },
|
|
38
|
-
React__default
|
|
37
|
+
React__default.createElement(
|
|
39
38
|
reactBootstrap.Card,
|
|
40
39
|
{ bsPrefix: 'hero-card' },
|
|
41
|
-
title && React__default
|
|
40
|
+
title && React__default.createElement(
|
|
42
41
|
reactBootstrap.Card.Header,
|
|
43
42
|
{ className: 'h4' },
|
|
44
43
|
title
|
|
45
44
|
),
|
|
46
|
-
thumbnail && client && React__default
|
|
47
|
-
summary && React__default
|
|
45
|
+
thumbnail && client && React__default.createElement(reactBootstrap.Card.Img, { src: renderCardImage(thumbnail, client, imageHeight, imageWidth) }),
|
|
46
|
+
summary && React__default.createElement(
|
|
48
47
|
reactBootstrap.Card.Footer,
|
|
49
48
|
{ className: 'h6' },
|
|
50
49
|
entities.clean_html_1(summary)
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
3
5
|
require('./_commonjsHelpers-06173234.js');
|
|
4
6
|
var React = require('react');
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
|
-
|
|
9
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
7
|
+
var React__default = _interopDefault(React);
|
|
8
|
+
var brightcoveReactPlayerLoader_es = require('./brightcove-react-player-loader.es-156bd4d6.js');
|
|
10
9
|
|
|
11
10
|
var HighlightenVideo = function HighlightenVideo(_ref) {
|
|
12
11
|
var highlightVideoOptions = _ref.highlightVideoOptions;
|
|
@@ -17,24 +16,24 @@ var HighlightenVideo = function HighlightenVideo(_ref) {
|
|
|
17
16
|
videoId = highlightVideoOptions.videoId;
|
|
18
17
|
|
|
19
18
|
if (accountId && experienceId) {
|
|
20
|
-
return React__default
|
|
21
|
-
React__default
|
|
19
|
+
return React__default.createElement(
|
|
20
|
+
React__default.Fragment,
|
|
22
21
|
null,
|
|
23
|
-
React__default
|
|
22
|
+
React__default.createElement(
|
|
24
23
|
'div',
|
|
25
24
|
{ className: 'brightcove-experience-player' },
|
|
26
|
-
React__default
|
|
25
|
+
React__default.createElement(
|
|
27
26
|
'p',
|
|
28
27
|
{ style: { width: '100%' } },
|
|
29
28
|
'Highlighted Videos'
|
|
30
29
|
),
|
|
31
|
-
React__default
|
|
30
|
+
React__default.createElement(
|
|
32
31
|
'div',
|
|
33
32
|
{ className: 'playlist-player', style: { position: 'relative', display: 'block', margin: '0px auto' } },
|
|
34
|
-
React__default
|
|
33
|
+
React__default.createElement(
|
|
35
34
|
'div',
|
|
36
35
|
{ style: { paddingTop: '56.25%' } },
|
|
37
|
-
React__default
|
|
36
|
+
React__default.createElement('iframe', {
|
|
38
37
|
src: 'https://players.brightcove.net/' + accountId + '/' + experienceId + '/share.html',
|
|
39
38
|
allowFullScreen: true,
|
|
40
39
|
allow: 'encrypted-media',
|
|
@@ -43,23 +42,23 @@ var HighlightenVideo = function HighlightenVideo(_ref) {
|
|
|
43
42
|
)
|
|
44
43
|
)
|
|
45
44
|
),
|
|
46
|
-
React__default
|
|
45
|
+
React__default.createElement(
|
|
47
46
|
'style',
|
|
48
47
|
{ jsx: 'true' },
|
|
49
48
|
'\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 '
|
|
50
49
|
)
|
|
51
50
|
);
|
|
52
51
|
} else if (accountId && playerId && playlistId) {
|
|
53
|
-
return React__default
|
|
52
|
+
return React__default.createElement(
|
|
54
53
|
'div',
|
|
55
54
|
{ className: 'brightcove-playlist-player' },
|
|
56
|
-
React__default
|
|
55
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, { accountId: accountId, playerId: playerId, playlistId: playlistId, attrs: { className: 'brightcove' } })
|
|
57
56
|
);
|
|
58
57
|
} else if (accountId && playerId && videoId) {
|
|
59
|
-
return React__default
|
|
58
|
+
return React__default.createElement(
|
|
60
59
|
'div',
|
|
61
60
|
{ className: 'brightcove-video-player' },
|
|
62
|
-
React__default
|
|
61
|
+
React__default.createElement(brightcoveReactPlayerLoader_es.ReactPlayerLoader, { accountId: accountId, playerId: playerId, videoId: videoId, attrs: { className: 'brightcove' } })
|
|
63
62
|
);
|
|
64
63
|
} else {
|
|
65
64
|
return null;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
3
5
|
require('./_commonjsHelpers-06173234.js');
|
|
4
6
|
var React = require('react');
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
var React__default = _interopDefault(React);
|
|
8
|
+
require('./moment-575fe24c.js');
|
|
9
|
+
var index$1 = require('./index-39beccb3.js');
|
|
7
10
|
require('./iconBase-68959171.js');
|
|
8
|
-
var index_esm = require('./index.esm-
|
|
9
|
-
|
|
10
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
11
|
-
|
|
12
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
|
+
var index_esm$3 = require('./index.esm-89fabc47.js');
|
|
13
12
|
|
|
14
13
|
var HorizontalHero = function HorizontalHero(props) {
|
|
15
14
|
var client = props.client;
|
|
16
15
|
|
|
17
|
-
var builder = index.imageUrlBuilder(client);
|
|
16
|
+
var builder = index$1.imageUrlBuilder(client);
|
|
18
17
|
function urlFor(source) {
|
|
19
18
|
return builder.image(source).auto('format');
|
|
20
19
|
}
|
|
@@ -36,44 +35,44 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
36
35
|
topArticleThumbnail = props.thumbnail;
|
|
37
36
|
}
|
|
38
37
|
|
|
39
|
-
return React__default
|
|
38
|
+
return React__default.createElement(
|
|
40
39
|
'div',
|
|
41
40
|
{ className: 'horizontal-hero-container', style: { borderRight: '3px solid ' + borderColor, borderTop: '3px solid ' + borderColor } },
|
|
42
|
-
React__default
|
|
41
|
+
React__default.createElement(
|
|
43
42
|
'div',
|
|
44
43
|
{ className: 'horizontal-hero-title' },
|
|
45
|
-
React__default
|
|
44
|
+
React__default.createElement(
|
|
46
45
|
'h2',
|
|
47
46
|
null,
|
|
48
47
|
heroTitle
|
|
49
48
|
),
|
|
50
|
-
React__default
|
|
49
|
+
React__default.createElement('div', null)
|
|
51
50
|
),
|
|
52
|
-
React__default
|
|
51
|
+
React__default.createElement(
|
|
53
52
|
'div',
|
|
54
53
|
{ className: 'horizontal-hero-inner' },
|
|
55
|
-
React__default
|
|
54
|
+
React__default.createElement(
|
|
56
55
|
'a',
|
|
57
56
|
{ href: '/view/' + topArticle.url.current, className: 'horizontal-hero-img' },
|
|
58
|
-
React__default
|
|
57
|
+
React__default.createElement('img', { style: { objectFit: props.imageSize ? props.imageSize : 'cover' }, src: topArticleThumbnail, alt: topArticleAltText })
|
|
59
58
|
),
|
|
60
|
-
React__default
|
|
59
|
+
React__default.createElement(
|
|
61
60
|
'div',
|
|
62
61
|
{ className: 'horizontal-articles-wrap' },
|
|
63
|
-
React__default
|
|
62
|
+
React__default.createElement(
|
|
64
63
|
'a',
|
|
65
64
|
{ href: '/view/' + topArticle.url.current, className: 'horizontal-article' },
|
|
66
|
-
React__default
|
|
65
|
+
React__default.createElement(
|
|
67
66
|
'p',
|
|
68
67
|
null,
|
|
69
68
|
topArticle.title
|
|
70
69
|
)
|
|
71
70
|
),
|
|
72
71
|
subArticles.map(function (article, index) {
|
|
73
|
-
return React__default
|
|
72
|
+
return React__default.createElement(
|
|
74
73
|
'a',
|
|
75
74
|
{ key: index, href: '/view/' + article.url.current, className: 'horizontal-article' },
|
|
76
|
-
React__default
|
|
75
|
+
React__default.createElement(
|
|
77
76
|
'p',
|
|
78
77
|
null,
|
|
79
78
|
article.title
|
|
@@ -82,23 +81,23 @@ var HorizontalHero = function HorizontalHero(props) {
|
|
|
82
81
|
})
|
|
83
82
|
)
|
|
84
83
|
),
|
|
85
|
-
props.linkTo && React__default
|
|
84
|
+
props.linkTo && React__default.createElement(
|
|
86
85
|
'div',
|
|
87
86
|
{ className: 'horizontal-view-more' },
|
|
88
|
-
React__default
|
|
87
|
+
React__default.createElement(
|
|
89
88
|
'a',
|
|
90
89
|
{ href: props.linkTo },
|
|
91
90
|
props.linkTitle ? props.linkTitle : 'View More' + heroTitle,
|
|
92
91
|
' ',
|
|
93
92
|
' ',
|
|
94
|
-
React__default
|
|
93
|
+
React__default.createElement(
|
|
95
94
|
'span',
|
|
96
95
|
null,
|
|
97
|
-
React__default
|
|
96
|
+
React__default.createElement(index_esm$3.FaLongArrowAltRight, { color: 'var(--primary)' })
|
|
98
97
|
)
|
|
99
98
|
)
|
|
100
99
|
),
|
|
101
|
-
React__default
|
|
100
|
+
React__default.createElement(
|
|
102
101
|
'style',
|
|
103
102
|
{ jsx: 'true' },
|
|
104
103
|
'\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,14 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
3
5
|
var _commonjsHelpers = require('./_commonjsHelpers-06173234.js');
|
|
4
|
-
var inherits = require('./inherits-
|
|
6
|
+
var inherits = require('./inherits-14962339.js');
|
|
5
7
|
var React = require('react');
|
|
8
|
+
var React__default = _interopDefault(React);
|
|
6
9
|
var isSymbol = require('./isSymbol-488934a7.js');
|
|
7
10
|
|
|
8
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
9
|
-
|
|
10
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
11
|
-
|
|
12
11
|
/** Used as references for various `Number` constants. */
|
|
13
12
|
var MAX_SAFE_INTEGER = 9007199254740991;
|
|
14
13
|
|
|
@@ -316,7 +315,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
316
315
|
}
|
|
317
316
|
};
|
|
318
317
|
|
|
319
|
-
_this.wraperRef = React__default
|
|
318
|
+
_this.wraperRef = React__default.createRef();
|
|
320
319
|
_this.visible = false;
|
|
321
320
|
return _this;
|
|
322
321
|
}
|
|
@@ -344,7 +343,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
344
343
|
_props$id = _props.id,
|
|
345
344
|
id = _props$id === undefined ? '' : _props$id;
|
|
346
345
|
|
|
347
|
-
return React__default
|
|
346
|
+
return React__default.createElement(
|
|
348
347
|
'div',
|
|
349
348
|
{ ref: this.wraperRef, className: className, style: style, id: id },
|
|
350
349
|
this.props.children
|
|
@@ -353,7 +352,7 @@ var InscreenSensor = function (_React$Component) {
|
|
|
353
352
|
}]);
|
|
354
353
|
|
|
355
354
|
return InscreenSensor;
|
|
356
|
-
}(React__default
|
|
355
|
+
}(React__default.Component);
|
|
357
356
|
|
|
358
357
|
exports.InscreenSensor = InscreenSensor;
|
|
359
358
|
exports.isArguments_1 = isArguments_1;
|
|
@@ -1,29 +1,24 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
4
|
+
|
|
3
5
|
require('./_commonjsHelpers-06173234.js');
|
|
4
6
|
require('./_to-object-329a650b.js');
|
|
5
7
|
require('./core.get-iterator-method-41e87ec1.js');
|
|
6
8
|
require('./web.dom.iterable-43c3e277.js');
|
|
7
9
|
var React = require('react');
|
|
10
|
+
var React__default = _interopDefault(React);
|
|
8
11
|
require('prop-types');
|
|
9
|
-
var Row = require('react-bootstrap/Row');
|
|
10
|
-
var Col = require('react-bootstrap/Col');
|
|
11
|
-
var Card = require('react-bootstrap/Card');
|
|
12
|
-
var moment = require('./moment-
|
|
12
|
+
var Row = _interopDefault(require('react-bootstrap/Row'));
|
|
13
|
+
var Col = _interopDefault(require('react-bootstrap/Col'));
|
|
14
|
+
var Card = _interopDefault(require('react-bootstrap/Card'));
|
|
15
|
+
var moment = require('./moment-575fe24c.js');
|
|
13
16
|
require('react-dom');
|
|
14
|
-
var index$1 = require('./index-
|
|
15
|
-
var index = require('./index-
|
|
17
|
+
var index$1 = require('./index-39beccb3.js');
|
|
18
|
+
var index$2 = require('./index-fa0fb52c.js');
|
|
16
19
|
require('./slicedToArray-8063ee51.js');
|
|
17
|
-
var AuthorComponent = require('./AuthorComponent-
|
|
18
|
-
var Badge = require('react-bootstrap/Badge');
|
|
19
|
-
|
|
20
|
-
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
21
|
-
|
|
22
|
-
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
|
|
23
|
-
var Row__default = /*#__PURE__*/_interopDefaultLegacy(Row);
|
|
24
|
-
var Col__default = /*#__PURE__*/_interopDefaultLegacy(Col);
|
|
25
|
-
var Card__default = /*#__PURE__*/_interopDefaultLegacy(Card);
|
|
26
|
-
var Badge__default = /*#__PURE__*/_interopDefaultLegacy(Badge);
|
|
20
|
+
var AuthorComponent = require('./AuthorComponent-cb8b8128.js');
|
|
21
|
+
var Badge = _interopDefault(require('react-bootstrap/Badge'));
|
|
27
22
|
|
|
28
23
|
var urlFor = function urlFor(source, client) {
|
|
29
24
|
var builder = index$1.imageUrlBuilder(client);
|
|
@@ -59,28 +54,28 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
59
54
|
imageWidth = props.imageWidth,
|
|
60
55
|
client = props.client,
|
|
61
56
|
Settings = props.Settings,
|
|
62
|
-
index
|
|
57
|
+
index = props.index,
|
|
63
58
|
source = props.source;
|
|
64
59
|
|
|
65
|
-
return React__default
|
|
66
|
-
|
|
67
|
-
{ md: 12, lg: 12, key: index
|
|
68
|
-
React__default
|
|
69
|
-
|
|
60
|
+
return React__default.createElement(
|
|
61
|
+
Col,
|
|
62
|
+
{ md: 12, lg: 12, key: index },
|
|
63
|
+
React__default.createElement(
|
|
64
|
+
Card,
|
|
70
65
|
{ style: { boxShadow: 'none', borderBottom: '1px solid #aaa', paddingBottom: '1rem' } },
|
|
71
|
-
React__default
|
|
66
|
+
React__default.createElement(
|
|
72
67
|
'div',
|
|
73
68
|
{ style: { display: 'flex', flex: '1 0 auto', paddingBottom: '1rem' } },
|
|
74
|
-
coverImage && React__default
|
|
69
|
+
coverImage && React__default.createElement(
|
|
75
70
|
'div',
|
|
76
71
|
{ style: { display: 'flex', flexDirection: 'column', justifyContent: 'center' } },
|
|
77
|
-
React__default
|
|
72
|
+
React__default.createElement(
|
|
78
73
|
'a',
|
|
79
74
|
{ href: '/view/' + link },
|
|
80
|
-
React__default
|
|
81
|
-
index.LazyLoad,
|
|
75
|
+
React__default.createElement(
|
|
76
|
+
index$2.LazyLoad,
|
|
82
77
|
{ height: imageHeight },
|
|
83
|
-
React__default
|
|
78
|
+
React__default.createElement(Card.Img, {
|
|
84
79
|
variant: 'right',
|
|
85
80
|
src: renderCardImage({ coverImage: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, client: client, Settings: Settings }),
|
|
86
81
|
alt: title,
|
|
@@ -88,60 +83,60 @@ var PublicationDeckStack = function PublicationDeckStack(props) {
|
|
|
88
83
|
})
|
|
89
84
|
)
|
|
90
85
|
),
|
|
91
|
-
source && React__default
|
|
86
|
+
source && React__default.createElement(
|
|
92
87
|
'div',
|
|
93
88
|
{ className: 'mb-2 sanityDisplayLabel displayLabelThumb' },
|
|
94
89
|
source
|
|
95
90
|
)
|
|
96
91
|
),
|
|
97
|
-
React__default
|
|
98
|
-
|
|
92
|
+
React__default.createElement(
|
|
93
|
+
Card.Body,
|
|
99
94
|
{ style: { padding: '0.5rem' } },
|
|
100
|
-
section ? React__default
|
|
101
|
-
|
|
95
|
+
section ? React__default.createElement(
|
|
96
|
+
Badge,
|
|
102
97
|
{ variant: 'success' },
|
|
103
98
|
section.name
|
|
104
99
|
) : '',
|
|
105
|
-
React__default
|
|
106
|
-
|
|
100
|
+
React__default.createElement(
|
|
101
|
+
Card.Title,
|
|
107
102
|
{ style: { color: '#121212', fontSize: '1.1rem' } },
|
|
108
|
-
React__default
|
|
103
|
+
React__default.createElement(
|
|
109
104
|
'a',
|
|
110
105
|
{ href: '/view/' + link },
|
|
111
|
-
React__default
|
|
106
|
+
React__default.createElement(
|
|
112
107
|
'span',
|
|
113
108
|
null,
|
|
114
109
|
title
|
|
115
110
|
)
|
|
116
111
|
),
|
|
117
|
-
React__default
|
|
112
|
+
React__default.createElement('br', null)
|
|
118
113
|
),
|
|
119
|
-
React__default
|
|
114
|
+
React__default.createElement(
|
|
120
115
|
'div',
|
|
121
116
|
{ style: { float: 'left' } },
|
|
122
|
-
source && !coverImage && React__default
|
|
117
|
+
source && !coverImage && React__default.createElement(
|
|
123
118
|
'div',
|
|
124
119
|
{ className: 'content-category-label' },
|
|
125
|
-
React__default
|
|
120
|
+
React__default.createElement(
|
|
126
121
|
'div',
|
|
127
122
|
{ className: 'mb-1 sanityDisplayLabel displayLabelThumb' },
|
|
128
123
|
source
|
|
129
124
|
)
|
|
130
125
|
),
|
|
131
|
-
React__default
|
|
126
|
+
React__default.createElement(
|
|
132
127
|
'p',
|
|
133
128
|
{ style: { color: '#484848', fontSize: '.9rem', fontWeight: '600' }, className: 'mb-0' },
|
|
134
129
|
moment.moment(published).format('MMMM DD, YYYY ')
|
|
135
130
|
),
|
|
136
|
-
author.length > 0 && React__default
|
|
137
|
-
index.LazyLoad,
|
|
131
|
+
author.length > 0 && React__default.createElement(
|
|
132
|
+
index$2.LazyLoad,
|
|
138
133
|
{ height: 50 },
|
|
139
|
-
React__default
|
|
134
|
+
React__default.createElement(AuthorComponent.AuthorComponent, { key: index.toString(), index: index, authors: author })
|
|
140
135
|
)
|
|
141
136
|
)
|
|
142
137
|
)
|
|
143
138
|
),
|
|
144
|
-
React__default
|
|
139
|
+
React__default.createElement(
|
|
145
140
|
'p',
|
|
146
141
|
{ style: { paddingLeft: '0.5rem' } },
|
|
147
142
|
summary
|
|
@@ -159,32 +154,32 @@ var PublicationDeckBlock = function PublicationDeckBlock(props) {
|
|
|
159
154
|
imageWidth = props.imageWidth,
|
|
160
155
|
client = props.client,
|
|
161
156
|
Settings = props.Settings,
|
|
162
|
-
index
|
|
157
|
+
index = props.index;
|
|
163
158
|
|
|
164
|
-
return React__default
|
|
165
|
-
|
|
166
|
-
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index
|
|
167
|
-
React__default
|
|
168
|
-
|
|
159
|
+
return React__default.createElement(
|
|
160
|
+
Col,
|
|
161
|
+
{ md: 12, lg: 6, style: { display: 'flex', flex: '1 0 auto' }, key: index },
|
|
162
|
+
React__default.createElement(
|
|
163
|
+
Card,
|
|
169
164
|
null,
|
|
170
|
-
React__default
|
|
165
|
+
React__default.createElement(
|
|
171
166
|
'a',
|
|
172
167
|
{ href: '/view/' + link },
|
|
173
|
-
coverImage && React__default
|
|
174
|
-
index.LazyLoad,
|
|
168
|
+
coverImage && React__default.createElement(
|
|
169
|
+
index$2.LazyLoad,
|
|
175
170
|
{ height: imageHeight },
|
|
176
|
-
React__default
|
|
171
|
+
React__default.createElement(Card.Img, { variant: 'top', src: renderCardImage({ coverImage: coverImage, imageHeight: imageHeight, imageWidth: imageWidth, client: client, Settings: Settings }), alt: title })
|
|
177
172
|
),
|
|
178
|
-
React__default
|
|
179
|
-
|
|
173
|
+
React__default.createElement(
|
|
174
|
+
Card.Body,
|
|
180
175
|
null,
|
|
181
|
-
section && section.name ? React__default
|
|
182
|
-
|
|
176
|
+
section && section.name ? React__default.createElement(
|
|
177
|
+
Badge,
|
|
183
178
|
{ variant: 'success' },
|
|
184
179
|
section && section.name
|
|
185
180
|
) : '',
|
|
186
|
-
React__default
|
|
187
|
-
|
|
181
|
+
React__default.createElement(
|
|
182
|
+
Card.Title,
|
|
188
183
|
null,
|
|
189
184
|
title
|
|
190
185
|
)
|
|
@@ -203,12 +198,12 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
203
198
|
_props$variant = props.variant,
|
|
204
199
|
variant = _props$variant === undefined ? 'block' : _props$variant;
|
|
205
200
|
|
|
206
|
-
return React__default
|
|
207
|
-
|
|
201
|
+
return React__default.createElement(
|
|
202
|
+
Row,
|
|
208
203
|
null,
|
|
209
204
|
data && data.length ? data.map(function (row, index) {
|
|
210
205
|
if (variant === 'stack') {
|
|
211
|
-
return row.url && row.url.current && React__default
|
|
206
|
+
return row.url && row.url.current && React__default.createElement(PublicationDeckStack, {
|
|
212
207
|
index: index,
|
|
213
208
|
title: row.title,
|
|
214
209
|
coverImage: row.thumbnail,
|
|
@@ -224,7 +219,7 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
224
219
|
summary: row.summary
|
|
225
220
|
});
|
|
226
221
|
}
|
|
227
|
-
return React__default
|
|
222
|
+
return React__default.createElement(PublicationDeckBlock, {
|
|
228
223
|
index: index,
|
|
229
224
|
title: row.title,
|
|
230
225
|
coverImage: row.thumbnail,
|
|
@@ -235,20 +230,20 @@ var IssueContentDeck = function IssueContentDeck(props) {
|
|
|
235
230
|
imageWidth: imageWidth,
|
|
236
231
|
client: client
|
|
237
232
|
});
|
|
238
|
-
}) : React__default
|
|
233
|
+
}) : React__default.createElement(
|
|
239
234
|
'div',
|
|
240
235
|
null,
|
|
241
|
-
React__default
|
|
236
|
+
React__default.createElement(
|
|
242
237
|
'h5',
|
|
243
238
|
null,
|
|
244
|
-
React__default
|
|
239
|
+
React__default.createElement(
|
|
245
240
|
'em',
|
|
246
241
|
{ className: 'pl-3' },
|
|
247
242
|
'New content coming soon, please check back later.'
|
|
248
243
|
)
|
|
249
244
|
)
|
|
250
245
|
),
|
|
251
|
-
React__default
|
|
246
|
+
React__default.createElement(
|
|
252
247
|
'style',
|
|
253
248
|
{ jsx: 'true' },
|
|
254
249
|
'\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 '
|