@mjhls/mjh-framework 1.0.819-ad-refresh → 1.0.820
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +170 -170
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +3 -2
- package/dist/cjs/AD300x250x600.js +3 -2
- package/dist/cjs/AD728x90.js +3 -2
- package/dist/cjs/ADFloatingFooter.js +3 -2
- package/dist/cjs/ADGutter.js +3 -2
- package/dist/cjs/ADSkyscraper.js +3 -2
- package/dist/cjs/ADSponsoredResources.js +3 -2
- package/dist/cjs/ADWebcast.js +3 -2
- package/dist/cjs/ADWelcome.js +3 -2
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +3 -2
- package/dist/cjs/AdSlotsProvider.js +6 -27
- package/dist/cjs/AlgoliaSearch.js +14099 -17
- package/dist/cjs/ArticleCarousel.js +2 -1
- package/dist/cjs/ArticleProgramLandingPage.js +7 -5
- package/dist/cjs/ArticleSeriesLandingPage.js +5 -4
- package/dist/cjs/ArticleSeriesListing.js +6 -4
- package/dist/cjs/AuthWrapper.js +1 -1
- package/dist/cjs/CMEDeck.js +3 -2
- package/dist/cjs/Column3.js +3 -2
- package/dist/cjs/ConferenceArticleCard.js +19 -24
- package/dist/cjs/DeckContent.js +20 -25
- package/dist/cjs/DeckQueue.js +11 -17
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-93399f8c.js} +2 -1
- package/dist/cjs/EventsDeck.js +18 -18
- package/dist/cjs/ExternalResources.js +7 -5
- package/dist/cjs/Feature.js +6 -10
- package/dist/cjs/ForbesHero.js +12 -14
- package/dist/cjs/GridContent.js +24 -29
- package/dist/cjs/GridHero.js +10 -19
- package/dist/cjs/GroupDeck.js +4 -8
- package/dist/cjs/HamMagazine.js +15 -15
- package/dist/cjs/Hero.js +3 -14
- package/dist/cjs/HorizontalArticleListing.js +7 -5
- package/dist/cjs/HorizontalHero.js +7 -8
- package/dist/cjs/IssueContentDeck.js +10 -27
- package/dist/cjs/IssueDeck.js +10 -12
- package/dist/cjs/IssueLanding.js +38 -36
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +3 -2
- package/dist/cjs/MasterDeck.js +14 -13
- package/dist/cjs/MediaSeriesLanding.js +307 -407
- package/dist/cjs/NavMagazine.js +16 -16
- package/dist/cjs/NavNative.js +12 -12
- package/dist/cjs/NavNormal.js +2 -2
- package/dist/cjs/OncliveHero.js +6 -7
- package/dist/cjs/OncliveLargeHero.js +21 -22
- package/dist/cjs/PartnerDetailListing.js +13 -16
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +6 -4
- package/dist/cjs/PublicationDeck.js +10 -12
- package/dist/cjs/PublicationLanding.js +26 -29
- package/dist/cjs/QueueDeckExpanded.js +74 -72
- package/dist/cjs/RecentNews.js +5 -8
- package/dist/cjs/RelatedContent.js +35 -38
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/SeriesListingDeck.js +5 -3
- package/dist/cjs/{SeriesSlider-2db54929.js → SeriesSlider-d54fa925.js} +7 -12
- package/dist/cjs/SideFooter.js +2 -2
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-ecb4f972.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +11 -14
- package/dist/cjs/TaxonomyDescription.js +7 -5
- package/dist/cjs/TemplateNormal.js +8 -7
- package/dist/cjs/ThumbnailCard.js +6 -10
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +3 -7
- package/dist/cjs/VideoProgramLandingPage.js +7 -5
- package/dist/cjs/VideoSeriesCard.js +9 -8
- package/dist/cjs/VideoSeriesLandingPage.js +6 -4
- package/dist/cjs/VideoSeriesListing.js +7 -5
- package/dist/cjs/View.js +17 -16
- package/dist/cjs/YahooHero.js +11 -13
- package/dist/cjs/YoutubeGroup.js +9 -13
- package/dist/cjs/events-1b438fe7.js +469 -0
- package/dist/cjs/getSerializers.js +7 -5
- package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-be6168ad.js} +9 -9
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-48bd6cd5.js → index-179d21a3.js} +49 -93
- package/dist/cjs/index-8041a4eb.js +99 -0
- package/dist/cjs/{index-0e4427c8.js → index-fc2f1ca2.js} +2 -467
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-9225638f.js → index.esm-3b9b8952.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +19 -32
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/urlFor.js +34 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -6
- package/dist/esm/AD300x250x600.js +7 -6
- package/dist/esm/AD728x90.js +8 -7
- package/dist/esm/ADFloatingFooter.js +10 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +10 -9
- package/dist/esm/{ADInfeed-4a09242b.js → ADInfeed-28b1e946.js} +5 -5
- package/dist/esm/ADSkyscraper.js +10 -9
- package/dist/esm/ADSponsoredResources.js +10 -9
- package/dist/esm/ADWebcast.js +10 -9
- package/dist/esm/ADWelcome.js +14 -13
- package/dist/esm/{ADlgInfeed-0bff9a62.js → ADlgInfeed-0b474b02.js} +4 -4
- package/dist/esm/AccordionPanel.js +18 -18
- package/dist/esm/AdSlot.js +6 -5
- package/dist/esm/AdSlotsProvider.js +8 -28
- package/dist/esm/AlgoliaSearch.js +14123 -41
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +7 -6
- package/dist/esm/ArticleProgramLandingPage.js +19 -17
- package/dist/esm/ArticleSeriesLandingPage.js +13 -12
- package/dist/esm/ArticleSeriesListing.js +33 -31
- package/dist/esm/Auth.js +70 -70
- package/dist/esm/AuthWrapper.js +26 -26
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-5ae7409f.js} +10 -10
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-52cf21c5.js} +3 -3
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +62 -61
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +24 -23
- package/dist/esm/ConferenceArticleCard.js +32 -37
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +63 -68
- package/dist/esm/DeckQueue.js +48 -54
- package/dist/esm/{Dfp-be030f2a.js → Dfp-43f121ff.js} +11 -10
- package/dist/esm/EventsDeck.js +81 -81
- package/dist/esm/ExternalResources.js +37 -35
- package/dist/esm/Feature.js +20 -24
- package/dist/esm/ForbesHero.js +32 -34
- package/dist/esm/GridContent.js +109 -114
- package/dist/esm/GridHero.js +31 -40
- package/dist/esm/GroupDeck.js +38 -42
- package/dist/esm/HamMagazine.js +95 -95
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +8 -19
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +33 -31
- package/dist/esm/HorizontalHero.js +25 -26
- package/dist/esm/IssueContentDeck.js +48 -65
- package/dist/esm/IssueDeck.js +43 -45
- package/dist/esm/IssueLanding.js +53 -51
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +17 -16
- package/dist/esm/MasterDeck.js +48 -47
- package/dist/esm/MediaSeriesLanding.js +334 -434
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +99 -99
- package/dist/esm/NavNative.js +86 -86
- package/dist/esm/NavNormal.js +22 -22
- package/dist/esm/OncliveHero.js +18 -19
- package/dist/esm/OncliveLargeHero.js +58 -59
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +68 -71
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +16 -14
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +43 -45
- package/dist/esm/PublicationLanding.js +75 -78
- package/dist/esm/QueueDeckExpanded.js +262 -260
- package/dist/esm/RecentNews.js +21 -24
- package/dist/esm/RelatedContent.js +46 -49
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SeriesListingDeck.js +21 -19
- package/dist/esm/{SeriesSlider-c8477bf3.js → SeriesSlider-8f2aca58.js} +25 -30
- package/dist/esm/SideFooter.js +21 -21
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-db963c3e.js → SocialSearchComponent-cd38ae60.js} +22 -22
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +43 -46
- package/dist/esm/TaxonomyDescription.js +15 -13
- package/dist/esm/TemplateNormal.js +31 -30
- package/dist/esm/ThumbnailCard.js +11 -15
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +14 -18
- package/dist/esm/VideoProgramLandingPage.js +26 -24
- package/dist/esm/VideoSeriesCard.js +19 -18
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +14 -12
- package/dist/esm/VideoSeriesListing.js +50 -48
- package/dist/esm/View.js +178 -177
- package/dist/esm/YahooHero.js +29 -31
- package/dist/esm/YoutubeGroup.js +36 -40
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/events-6c3a7a63.js +467 -0
- package/dist/esm/getSerializers.js +10 -8
- package/dist/esm/{getTargeting-05c216d6.js → getTargeting-68291ce9.js} +9 -9
- package/dist/esm/getTargeting.js +1 -1
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-5cc7b406.js → index-2446af28.js} +4 -469
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-343d9c07.js → index-5cc7293b.js} +357 -401
- package/dist/esm/index-67e1773f.js +94 -0
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-e874e770.js → index.esm-d6f88d94.js} +1 -1
- package/dist/esm/index.js +43 -55
- package/dist/esm/{main-d4165069.js → main-b5c5aac1.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/urlFor.js +34 -2
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +110 -110
- /package/dist/cjs/{ADInfeed-eb4ce360.js → ADInfeed-8b336c67.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-8a05b63f.js → ADlgInfeed-aedd5e18.js} +0 -0
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -1,29 +1,25 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import './moment-bc12cb97.js';
|
|
3
|
-
import
|
|
3
|
+
import urlFor from './urlFor.js';
|
|
4
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
5
|
+
import './index-0dbff1d1.js';
|
|
5
6
|
|
|
6
7
|
var VerticalHero = function VerticalHero(props) {
|
|
7
8
|
var client = props.client;
|
|
8
|
-
|
|
9
|
-
var builder = imageUrlBuilder(client);
|
|
10
|
-
function urlFor(source) {
|
|
11
|
-
return builder.image(source).auto('format');
|
|
12
|
-
}
|
|
13
9
|
var _props$heroTitle = props.heroTitle,
|
|
14
10
|
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
15
11
|
|
|
16
12
|
|
|
17
|
-
return
|
|
13
|
+
return React.createElement(
|
|
18
14
|
'div',
|
|
19
15
|
{ className: 'vertical-hero-container' },
|
|
20
|
-
|
|
16
|
+
React.createElement(
|
|
21
17
|
'div',
|
|
22
18
|
{ className: 'vertical-hero-inner' },
|
|
23
|
-
|
|
19
|
+
React.createElement(
|
|
24
20
|
'div',
|
|
25
21
|
{ className: 'hero-title' },
|
|
26
|
-
|
|
22
|
+
React.createElement(
|
|
27
23
|
'h2',
|
|
28
24
|
null,
|
|
29
25
|
heroTitle
|
|
@@ -33,24 +29,24 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
33
29
|
var articleThumbnail = '';
|
|
34
30
|
var articleAltText = article.title;
|
|
35
31
|
if (article.thumbnail && article.thumbnail.asset) {
|
|
36
|
-
articleThumbnail = urlFor(article.thumbnail.asset
|
|
32
|
+
articleThumbnail = urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 500 });
|
|
37
33
|
articleAltText = article.thumbnail.asset.originalFileName;
|
|
38
34
|
} else if (props.thumbnail) {
|
|
39
35
|
articleThumbnail = props.thumbnail;
|
|
40
36
|
}
|
|
41
|
-
return index === 0 ?
|
|
37
|
+
return index === 0 ? React.createElement(
|
|
42
38
|
'a',
|
|
43
39
|
{ href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
React.createElement('img', { src: articleThumbnail, alt: articleAltText }),
|
|
41
|
+
React.createElement(
|
|
46
42
|
'h2',
|
|
47
43
|
null,
|
|
48
44
|
article.title
|
|
49
45
|
)
|
|
50
|
-
) :
|
|
46
|
+
) : React.createElement(
|
|
51
47
|
'a',
|
|
52
48
|
{ href: '/view/' + article.url.current, className: 'vertical-article' },
|
|
53
|
-
|
|
49
|
+
React.createElement(
|
|
54
50
|
'h2',
|
|
55
51
|
null,
|
|
56
52
|
article.title
|
|
@@ -58,7 +54,7 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
58
54
|
);
|
|
59
55
|
})
|
|
60
56
|
),
|
|
61
|
-
|
|
57
|
+
React.createElement(
|
|
62
58
|
'style',
|
|
63
59
|
{ jsx: 'true' },
|
|
64
60
|
'\n .vertical-hero-container {\n display: flex;\n flex-direction: row;\n padding: 0.25rem;\n justify-content: space-between;\n width: 100%;\n flex: 1 1 auto;\n }\n .hero-title h2 {\n font-size: 1.2rem;\n font-weight: bold;\n }\n .vertical-article {\n display: block;\n }\n .vertical-article img {\n width: 100%;\n height: auto;\n min-width: 200px;\n }\n .vertical-article h2 {\n font-size: 0.9rem;\n color: #252525;\n font-weight: bold;\n padding: 0.5rem 0.5rem 1rem;\n margin: 0.5rem;\n border-bottom: 1px solid #ccc;\n }\n '
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _extends } from './extends-60e0e1c6.js';
|
|
3
|
-
import
|
|
4
|
-
import { B as BlockContent } from './BlockContent-
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-5cc7293b.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './es6.string.iterator-bc33758b.js';
|
|
@@ -19,19 +19,21 @@ import 'prop-types';
|
|
|
19
19
|
import './index-0dbff1d1.js';
|
|
20
20
|
import './slicedToArray-be2f7a22.js';
|
|
21
21
|
import 'react-bootstrap';
|
|
22
|
-
import './
|
|
22
|
+
import './urlFor.js';
|
|
23
|
+
import './index-2446af28.js';
|
|
24
|
+
import './events-6c3a7a63.js';
|
|
23
25
|
import 'next/router';
|
|
24
26
|
import './index-c7e2ac95.js';
|
|
25
27
|
import './util-3ab476bf.js';
|
|
26
28
|
import './Beam.js';
|
|
27
29
|
import './stringify-59c8f690.js';
|
|
28
30
|
import './Segment.js';
|
|
29
|
-
import './main-
|
|
30
|
-
import './index-
|
|
31
|
+
import './main-b5c5aac1.js';
|
|
32
|
+
import './index-35bdcc81.js';
|
|
31
33
|
import 'react-dom';
|
|
32
34
|
import './typeof-a286cf0c.js';
|
|
33
35
|
import './_is-array-3e99e06e.js';
|
|
34
|
-
import './brightcove-react-player-loader.es-
|
|
36
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
35
37
|
import './GroupDeck.js';
|
|
36
38
|
import './smoothscroll-fa4e3f8c.js';
|
|
37
39
|
import './moment-bc12cb97.js';
|
|
@@ -50,13 +52,13 @@ import 'react-bootstrap/Row';
|
|
|
50
52
|
import './inherits-a41fe93f.js';
|
|
51
53
|
import './_object-sap-f353c2a9.js';
|
|
52
54
|
import './define-property-fe54dc9f.js';
|
|
53
|
-
import './index.esm-
|
|
54
|
-
import './iconBase-
|
|
55
|
+
import './index.esm-3fdda599.js';
|
|
56
|
+
import './iconBase-602d52fe.js';
|
|
55
57
|
import 'react-bootstrap/Figure';
|
|
56
58
|
import 'react-bootstrap/Container';
|
|
57
|
-
import './visibility-sensor-
|
|
59
|
+
import './visibility-sensor-f40c2564.js';
|
|
58
60
|
import './YoutubeGroup.js';
|
|
59
|
-
import './index.es-
|
|
61
|
+
import './index.es-c6222053.js';
|
|
60
62
|
|
|
61
63
|
var _this = undefined;
|
|
62
64
|
|
|
@@ -83,29 +85,29 @@ var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
|
83
85
|
defaultImage = props.defaultImage,
|
|
84
86
|
mapping = props.mapping;
|
|
85
87
|
|
|
86
|
-
return
|
|
88
|
+
return React.createElement(
|
|
87
89
|
'div',
|
|
88
90
|
null,
|
|
89
|
-
virtualBlock &&
|
|
90
|
-
|
|
91
|
+
virtualBlock && React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
92
|
+
React.createElement(
|
|
91
93
|
'div',
|
|
92
94
|
{ className: 'peer-exchange-filter-container' },
|
|
93
|
-
|
|
95
|
+
React.createElement(
|
|
94
96
|
Form,
|
|
95
97
|
{ className: 'ml-3', method: 'post' },
|
|
96
|
-
|
|
98
|
+
React.createElement(
|
|
97
99
|
Form.Row,
|
|
98
100
|
null,
|
|
99
|
-
|
|
101
|
+
React.createElement(
|
|
100
102
|
Col,
|
|
101
103
|
null,
|
|
102
|
-
|
|
104
|
+
React.createElement(
|
|
103
105
|
Form.Group,
|
|
104
106
|
{ controlId: 'topic' },
|
|
105
|
-
|
|
107
|
+
React.createElement(
|
|
106
108
|
Form.Control,
|
|
107
109
|
{ as: 'select', name: 'topic_id', placeholder: 'Filter by Topic' },
|
|
108
|
-
|
|
110
|
+
React.createElement(
|
|
109
111
|
'option',
|
|
110
112
|
{ value: '' },
|
|
111
113
|
'All Topics'
|
|
@@ -114,7 +116,7 @@ var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
|
114
116
|
if (props.topic_id === topic._id || topic.name == 'Peer Exchange') {
|
|
115
117
|
return null;
|
|
116
118
|
} else {
|
|
117
|
-
return
|
|
119
|
+
return React.createElement(
|
|
118
120
|
'option',
|
|
119
121
|
{ value: topic._id },
|
|
120
122
|
topic.name
|
|
@@ -124,10 +126,10 @@ var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
|
124
126
|
)
|
|
125
127
|
)
|
|
126
128
|
),
|
|
127
|
-
|
|
129
|
+
React.createElement(
|
|
128
130
|
Col,
|
|
129
131
|
null,
|
|
130
|
-
|
|
132
|
+
React.createElement(
|
|
131
133
|
Button,
|
|
132
134
|
{ type: 'submit', variant: 'secondary' },
|
|
133
135
|
'Apply'
|
|
@@ -136,7 +138,7 @@ var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
|
136
138
|
)
|
|
137
139
|
)
|
|
138
140
|
),
|
|
139
|
-
posts &&
|
|
141
|
+
posts && React.createElement(VideoSeriesListing, {
|
|
140
142
|
client: client,
|
|
141
143
|
mapping: mapping,
|
|
142
144
|
dataRecord: posts,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
2
|
-
import
|
|
3
|
-
import { L as LazyLoad } from './index-
|
|
4
|
-
import
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
4
|
+
import urlFor from './urlFor.js';
|
|
5
5
|
import { m as moment } from './moment-bc12cb97.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'prop-types';
|
|
@@ -13,8 +13,9 @@ import './_is-array-3e99e06e.js';
|
|
|
13
13
|
import './_object-pie-133f504a.js';
|
|
14
14
|
import './_library-528f1934.js';
|
|
15
15
|
import 'react-dom';
|
|
16
|
+
import './index-0dbff1d1.js';
|
|
16
17
|
|
|
17
|
-
var css = ".VideoSeriesCard-module_article__Hlc3e {\
|
|
18
|
+
var css = ".VideoSeriesCard-module_article__Hlc3e {\n width: 100%;\n margin: 0 0 1rem 0;\n}\n.VideoSeriesCard-module_article__Hlc3e a {\n display: flex;\n width: 100%;\n color: #000000;\n}\n.VideoSeriesCard-module_thumb__3hGyJ {\n width: 25%;\n}\n.VideoSeriesCard-module_thumb__3hGyJ img {\n width: 100%;\n height: auto;\n}\n.VideoSeriesCard-module_info__2_i1N {\n width: 75%;\n font-size: 1rem;\n}\n.VideoSeriesCard-module_info__2_i1N h2 {\n font-weight: bold;\n font-size: 1.25rem;\n margin: 0;\n}\n.VideoSeriesCard-module_published__1fI0q {\n color: #6d6d6d;\n margin: 0;\n}\n.VideoSeriesCard-module_summary__3hWJT {\n margin: 0.5rem 0 0 0;\n}\n.VideoSeriesCard-module_author__aU35o {\n margin: 0;\n}\n.VideoSeriesCard-module_author__aU35o span {\n color: #6d6d6d;\n}\n@media only screen and (max-width: 568px) {\n .VideoSeriesCard-module_article__Hlc3e {\n margin: 1rem 0;\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\n }\n .VideoSeriesCard-module_article__Hlc3e a {\n flex-direction: column;\n align-items: center;\n }\n .VideoSeriesCard-module_thumb__3hGyJ {\n overflow: hidden;\n width: 100%;\n margin-bottom: 1rem;\n }\n .VideoSeriesCard-module_thumb__3hGyJ img{\n border-radius: 10px 10px 0 0; \n }\n .VideoSeriesCard-module_thumb__3hGyJ figure {\n margin: 0;\n }\n .VideoSeriesCard-module_info__2_i1N {\n width: 90%;\n padding: 1rem !important;\n }\n .VideoSeriesCard-module_info__2_i1N h2 {\n font-size: 1rem;\n }\n}\n";
|
|
18
19
|
var styles = { "article": "VideoSeriesCard-module_article__Hlc3e", "thumb": "VideoSeriesCard-module_thumb__3hGyJ", "info": "VideoSeriesCard-module_info__2_i1N", "published": "VideoSeriesCard-module_published__1fI0q", "summary": "VideoSeriesCard-module_summary__3hWJT", "author": "VideoSeriesCard-module_author__aU35o" };
|
|
19
20
|
styleInject(css);
|
|
20
21
|
|
|
@@ -26,53 +27,53 @@ var VideoSeriesCard = function VideoSeriesCard(props) {
|
|
|
26
27
|
index = props.index;
|
|
27
28
|
|
|
28
29
|
var episode = parseInt(index) + 1;
|
|
29
|
-
|
|
30
|
-
return
|
|
30
|
+
|
|
31
|
+
return React.createElement(
|
|
31
32
|
'div',
|
|
32
33
|
{ className: styles.article },
|
|
33
|
-
|
|
34
|
+
React.createElement(
|
|
34
35
|
'a',
|
|
35
36
|
{ href: '/view/' + data.url.current, style: variant === 'right' ? { flexDirection: 'row-reverse' } : {} },
|
|
36
|
-
|
|
37
|
+
React.createElement(
|
|
37
38
|
'div',
|
|
38
39
|
{ className: styles.thumb },
|
|
39
|
-
|
|
40
|
+
React.createElement(
|
|
40
41
|
'figure',
|
|
41
42
|
null,
|
|
42
|
-
|
|
43
|
+
React.createElement(
|
|
43
44
|
LazyLoad,
|
|
44
45
|
null,
|
|
45
|
-
|
|
46
|
-
src: data.thumbnail && data.thumbnail.asset ?
|
|
46
|
+
React.createElement('img', {
|
|
47
|
+
src: data.thumbnail && data.thumbnail.asset ? urlFor({ client: client, source: data.thumbnail }) : data.thumbnail && _typeof(data.thumbnail == 'string') ? data.thumbnail : defaultImage
|
|
47
48
|
})
|
|
48
49
|
)
|
|
49
50
|
)
|
|
50
51
|
),
|
|
51
|
-
|
|
52
|
+
React.createElement(
|
|
52
53
|
'div',
|
|
53
54
|
{ className: styles.info, style: variant === 'right' ? { padding: '0 1rem 0 0' } : { padding: ' 0 0 0 1rem' } },
|
|
54
|
-
|
|
55
|
+
React.createElement(
|
|
55
56
|
'div',
|
|
56
57
|
{ style: { fontSize: '1.3rem', fontWeight: 'bold' } },
|
|
57
58
|
episode && 'EP ' + episode + ': ',
|
|
58
59
|
data.title
|
|
59
60
|
),
|
|
60
|
-
data.published &&
|
|
61
|
+
data.published && React.createElement(
|
|
61
62
|
'p',
|
|
62
63
|
{ className: styles.published },
|
|
63
64
|
moment(data.published).format('MMMM Do YYYY')
|
|
64
65
|
),
|
|
65
|
-
data.authorMapping && data.authorMapping.displayName &&
|
|
66
|
+
data.authorMapping && data.authorMapping.displayName && React.createElement(
|
|
66
67
|
'p',
|
|
67
68
|
{ className: styles.author },
|
|
68
69
|
'By ',
|
|
69
|
-
|
|
70
|
+
React.createElement(
|
|
70
71
|
'span',
|
|
71
72
|
null,
|
|
72
73
|
data.authorMapping.displayName
|
|
73
74
|
)
|
|
74
75
|
),
|
|
75
|
-
data.intro &&
|
|
76
|
+
data.intro && React.createElement('p', { dangerouslySetInnerHTML: { __html: data.intro }, className: styles.summary })
|
|
76
77
|
)
|
|
77
78
|
)
|
|
78
79
|
);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
3
|
-
import
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
4
4
|
import { withRouter } from 'next/router';
|
|
5
5
|
import { DropdownButton, Dropdown } from 'react-bootstrap';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -92,13 +92,13 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
94
|
}, [filter]);
|
|
95
|
-
return
|
|
96
|
-
|
|
95
|
+
return React.createElement(
|
|
96
|
+
React.Fragment,
|
|
97
97
|
null,
|
|
98
|
-
|
|
98
|
+
React.createElement(
|
|
99
99
|
DropdownButton,
|
|
100
100
|
{ className: 'filter_dropdown', variant: 'primary', title: filter.name },
|
|
101
|
-
|
|
101
|
+
React.createElement(
|
|
102
102
|
Dropdown.Item,
|
|
103
103
|
{ key: 'all', onClick: function onClick() {
|
|
104
104
|
return setFilter({ name: 'All Topics', id: '' });
|
|
@@ -107,7 +107,7 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
107
107
|
),
|
|
108
108
|
filterData && filterData.map(function (filterItem) {
|
|
109
109
|
if (filterItem.identifier !== exclude) {
|
|
110
|
-
return
|
|
110
|
+
return React.createElement(
|
|
111
111
|
Dropdown.Item,
|
|
112
112
|
{ key: filterItem._id, onClick: function onClick() {
|
|
113
113
|
return setFilter({ name: filterItem.name, id: filterItem._id });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
2
|
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
3
|
-
import
|
|
3
|
+
import React from 'react';
|
|
4
4
|
import { m as moment } from './moment-bc12cb97.js';
|
|
5
5
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
6
6
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
@@ -22,7 +22,8 @@ import './extends-60e0e1c6.js';
|
|
|
22
22
|
import './inherits-a41fe93f.js';
|
|
23
23
|
import './_object-sap-f353c2a9.js';
|
|
24
24
|
import './define-property-fe54dc9f.js';
|
|
25
|
-
import './index-
|
|
25
|
+
import './index-2446af28.js';
|
|
26
|
+
import './events-6c3a7a63.js';
|
|
26
27
|
import 'prop-types';
|
|
27
28
|
import 'react-bootstrap/Container';
|
|
28
29
|
import 'react-bootstrap/Row';
|
|
@@ -33,18 +34,19 @@ import './lodash-f97fd99a.js';
|
|
|
33
34
|
import './debounce-533d9748.js';
|
|
34
35
|
import './isSymbol-a7e9aafe.js';
|
|
35
36
|
import './toNumber-5aeba6e7.js';
|
|
36
|
-
import './index.es-
|
|
37
|
-
import './visibility-sensor-
|
|
37
|
+
import './index.es-c6222053.js';
|
|
38
|
+
import './visibility-sensor-f40c2564.js';
|
|
38
39
|
import 'react-dom';
|
|
39
40
|
import './index-0dbff1d1.js';
|
|
40
|
-
import './ADlgInfeed-
|
|
41
|
+
import './ADlgInfeed-0b474b02.js';
|
|
41
42
|
import './AdSlot.js';
|
|
42
43
|
import './Beam.js';
|
|
43
44
|
import './stringify-59c8f690.js';
|
|
44
45
|
import './Segment.js';
|
|
45
|
-
import './main-
|
|
46
|
-
import './ADInfeed-
|
|
47
|
-
import './index-
|
|
46
|
+
import './main-b5c5aac1.js';
|
|
47
|
+
import './ADInfeed-28b1e946.js';
|
|
48
|
+
import './index-35bdcc81.js';
|
|
49
|
+
import './urlFor.js';
|
|
48
50
|
import './style-inject.es-1f59c1d0.js';
|
|
49
51
|
|
|
50
52
|
var _this = undefined;
|
|
@@ -72,16 +74,16 @@ var VideoSeriesLandingPage = function VideoSeriesLandingPage(props) {
|
|
|
72
74
|
_props$lgInfeedAd = props.lgInfeedAd,
|
|
73
75
|
lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd;
|
|
74
76
|
|
|
75
|
-
return
|
|
77
|
+
return React.createElement(
|
|
76
78
|
'div',
|
|
77
79
|
null,
|
|
78
|
-
summary &&
|
|
80
|
+
summary && React.createElement(
|
|
79
81
|
'div',
|
|
80
82
|
{ style: { fontSize: '1rem' }, className: 'series-summary px-1 my-4' },
|
|
81
83
|
summary
|
|
82
84
|
),
|
|
83
|
-
|
|
84
|
-
posts &&
|
|
85
|
+
React.createElement(Breadcrumbs, null),
|
|
86
|
+
posts && React.createElement(MasterDeck, {
|
|
85
87
|
deck: VideoSeriesCard,
|
|
86
88
|
variant: variant,
|
|
87
89
|
client: client,
|