@mjhls/mjh-framework 1.0.711-beta.2 → 1.0.711-cors-proxy
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/dist/cjs/AD.js +10 -9
- package/dist/cjs/AD300x250.js +10 -9
- package/dist/cjs/AD300x250x600.js +10 -9
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +12 -11
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-5a561d7c.js → ADInfeed-71e2533d.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +12 -11
- package/dist/cjs/ADWebcast.js +12 -11
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-c50f81d4.js → ADlgInfeed-2c6a814f.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +14 -13
- package/dist/cjs/AdSlotsProvider.js +7 -6
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +12 -12
- package/dist/cjs/ArticleSeriesListing.js +41 -41
- package/dist/cjs/Auth.js +232 -144
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/BrowseVideosListing.js +29 -29
- package/dist/cjs/CMEDeck.js +63 -63
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +19 -18
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +77 -73
- package/dist/cjs/DeckQueue.js +73 -69
- package/dist/cjs/{Dfp-ce7ac168.js → Dfp-234d2d8e.js} +21 -20
- package/dist/cjs/EventsDeck.js +123 -116
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +34 -33
- package/dist/cjs/GridContent.js +153 -149
- package/dist/cjs/GridHero.js +35 -34
- package/dist/cjs/GroupDeck.js +43 -43
- package/dist/cjs/HamMagazine.js +119 -114
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +11 -10
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +19 -18
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +51 -50
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +121 -116
- package/dist/cjs/NavNative.js +107 -99
- package/dist/cjs/NavNormal.js +41 -36
- package/dist/cjs/OncliveHero.js +18 -18
- package/dist/cjs/OncliveLargeHero.js +59 -58
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +72 -72
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +64 -60
- package/dist/cjs/QueueDeckExpanded.js +270 -270
- package/dist/cjs/RecentNews.js +23 -22
- package/dist/cjs/RelatedContent.js +22 -21
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SideFooter.js +24 -23
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-8dd468fd.js → SocialSearchComponent-87578cd1.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TaxonomyDescription.js +23 -23
- package/dist/cjs/TemplateNormal.js +36 -35
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +21 -20
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoSeriesCard.js +24 -23
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesListing.js +56 -56
- package/dist/cjs/View.js +183 -180
- package/dist/cjs/YahooHero.js +30 -29
- package/dist/cjs/YoutubeGroup.js +51 -51
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/getRelatedArticle.js +8 -8
- package/dist/cjs/getSerializers.js +12 -13
- package/dist/cjs/{getTargeting-9af0ef69.js → getTargeting-fee8c429.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-3294d3bc.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-8a3fb0bc.js} +12 -10
- package/dist/cjs/{index-9b8a57e5.js → index-ad961307.js} +811 -788
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- package/dist/cjs/{index-8bf6c863.js → index-e08f00ce.js} +9 -8
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-66ffa47a.js → index.esm-3b9b8952.js} +4 -9
- package/dist/cjs/{index.esm-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +31 -37
- package/dist/cjs/{inherits-c9f99d47.js → inherits-87492b40.js} +1 -1
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-95231a70.js} +50 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -7
- package/dist/esm/AD300x250x600.js +7 -7
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +9 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-d4c94a16.js → ADInfeed-73a22dad.js} +5 -5
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +9 -9
- package/dist/esm/ADWebcast.js +9 -9
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-5b170d9e.js → ADlgInfeed-e5c107b7.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +9 -10
- package/dist/esm/ArticleSeriesListing.js +35 -36
- package/dist/esm/Auth.js +209 -125
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-23afa074.js} +10 -10
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/BrowseVideosListing.js +26 -27
- package/dist/esm/CMEDeck.js +60 -60
- 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 +14 -14
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +54 -54
- package/dist/esm/DeckQueue.js +47 -47
- package/dist/esm/{Dfp-14e866d7.js → Dfp-f9463b48.js} +10 -10
- package/dist/esm/EventsDeck.js +66 -66
- package/dist/esm/ExternalResources.js +40 -41
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +111 -111
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +37 -38
- package/dist/esm/HamMagazine.js +86 -86
- 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/IssueContentDeck.js +41 -41
- package/dist/esm/IssueDeck.js +34 -34
- package/dist/esm/IssueLanding.js +16 -16
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +44 -44
- package/dist/esm/NavDvm.js +43 -43
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +90 -90
- package/dist/esm/NavNative.js +72 -72
- package/dist/esm/NavNormal.js +21 -21
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +67 -68
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PublicationDeck.js +35 -35
- package/dist/esm/PublicationLanding.js +35 -35
- package/dist/esm/QueueDeckExpanded.js +251 -251
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +17 -17
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +5 -5
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-8ac29f4f.js → SocialSearchComponent-91c19daa.js} +25 -25
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +36 -36
- package/dist/esm/TaxonomyDescription.js +17 -18
- package/dist/esm/TemplateNormal.js +29 -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/VideoSeriesCard.js +17 -17
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesListing.js +49 -50
- package/dist/esm/View.js +158 -159
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +36 -37
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/getRelatedArticle.js +1 -1
- package/dist/esm/getSerializers.js +12 -13
- package/dist/esm/{index-4d1ed4ba.js → index-1a7c57c9.js} +748 -732
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-a9e53f80.js → index-acfb8079.js} +3 -3
- package/dist/esm/{index-ef6d5dcf.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-5f9f807a.js → index-c5fd0af5.js} +4 -4
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8ee5ff72.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-b08f4b04.js → index.esm-d6f88d94.js} +4 -9
- package/dist/esm/index.js +26 -30
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-596840e8.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-4b699764.js} +51 -2
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-08f2c380.js → typeof-ee095d0c.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/VideoProgramLandingPage.js +0 -247
- package/dist/cjs/VideoSeriesLandingPage.js +0 -177
- package/dist/cjs/index-187c967e.js +0 -54
- package/dist/esm/VideoProgramLandingPage.js +0 -242
- package/dist/esm/VideoSeriesLandingPage.js +0 -172
- package/dist/esm/index-c7e2ac95.js +0 -52
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import
|
|
3
|
-
import './moment-
|
|
4
|
-
import { i as imageUrlBuilder } from './index-
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import './moment-b6f49411.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
5
5
|
|
|
6
6
|
var VerticalHero = function VerticalHero(props) {
|
|
7
7
|
var client = props.client;
|
|
@@ -14,16 +14,16 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
14
14
|
heroTitle = _props$heroTitle === undefined ? '' : _props$heroTitle;
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
return
|
|
17
|
+
return React.createElement(
|
|
18
18
|
'div',
|
|
19
19
|
{ className: 'vertical-hero-container' },
|
|
20
|
-
|
|
20
|
+
React.createElement(
|
|
21
21
|
'div',
|
|
22
22
|
{ className: 'vertical-hero-inner' },
|
|
23
|
-
|
|
23
|
+
React.createElement(
|
|
24
24
|
'div',
|
|
25
25
|
{ className: 'hero-title' },
|
|
26
|
-
|
|
26
|
+
React.createElement(
|
|
27
27
|
'h2',
|
|
28
28
|
null,
|
|
29
29
|
heroTitle
|
|
@@ -38,19 +38,19 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
38
38
|
} else if (props.thumbnail) {
|
|
39
39
|
articleThumbnail = props.thumbnail;
|
|
40
40
|
}
|
|
41
|
-
return index === 0 ?
|
|
41
|
+
return index === 0 ? React.createElement(
|
|
42
42
|
'a',
|
|
43
43
|
{ href: '/view/' + article.url.current, key: index, className: 'vertical-article' },
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
React.createElement('img', { src: articleThumbnail, alt: articleAltText }),
|
|
45
|
+
React.createElement(
|
|
46
46
|
'h2',
|
|
47
47
|
null,
|
|
48
48
|
article.title
|
|
49
49
|
)
|
|
50
|
-
) :
|
|
50
|
+
) : React.createElement(
|
|
51
51
|
'a',
|
|
52
52
|
{ href: '/view/' + article.url.current, className: 'vertical-article' },
|
|
53
|
-
|
|
53
|
+
React.createElement(
|
|
54
54
|
'h2',
|
|
55
55
|
null,
|
|
56
56
|
article.title
|
|
@@ -58,7 +58,7 @@ var VerticalHero = function VerticalHero(props) {
|
|
|
58
58
|
);
|
|
59
59
|
})
|
|
60
60
|
),
|
|
61
|
-
|
|
61
|
+
React.createElement(
|
|
62
62
|
'style',
|
|
63
63
|
{ jsx: 'true' },
|
|
64
64
|
'\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 '
|
|
@@ -4,14 +4,14 @@ import './es6.string.iterator-9b2af4a5.js';
|
|
|
4
4
|
import './_library-528f1934.js';
|
|
5
5
|
import './_object-pie-71ac75a4.js';
|
|
6
6
|
import './web.dom.iterable-8956f9a5.js';
|
|
7
|
-
import { _ as _typeof } from './typeof-
|
|
7
|
+
import { _ as _typeof } from './typeof-ee095d0c.js';
|
|
8
8
|
import './_is-array-49698029.js';
|
|
9
|
-
import
|
|
9
|
+
import React from 'react';
|
|
10
10
|
import 'prop-types';
|
|
11
|
-
import { m as moment } from './moment-
|
|
11
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
12
12
|
import 'react-dom';
|
|
13
|
-
import { i as imageUrlBuilder } from './index-
|
|
14
|
-
import { L as LazyLoad } from './index-
|
|
13
|
+
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
14
|
+
import { L as LazyLoad } from './index-c5fd0af5.js';
|
|
15
15
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
16
16
|
|
|
17
17
|
var css = ".VideoSeriesCard-module_article__Hlc3e {\r\n width: 100%;\r\n margin: 0 0 1rem 0;\r\n}\r\n.VideoSeriesCard-module_article__Hlc3e a {\r\n display: flex;\r\n width: 100%;\r\n color: #000000;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ {\r\n width: 25%;\r\n}\r\n.VideoSeriesCard-module_thumb__3hGyJ img {\r\n width: 100%;\r\n height: auto;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N {\r\n width: 75%;\r\n font-size: 1rem;\r\n}\r\n.VideoSeriesCard-module_info__2_i1N h2 {\r\n font-weight: bold;\r\n font-size: 1.25rem;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_published__1fI0q {\r\n color: #6d6d6d;\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_summary__3hWJT {\r\n margin: 0.5rem 0 0 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o {\r\n margin: 0;\r\n}\r\n.VideoSeriesCard-module_author__aU35o span {\r\n color: #6d6d6d;\r\n}\r\n@media only screen and (max-width: 568px) {\r\n .VideoSeriesCard-module_article__Hlc3e {\r\n margin: 1rem 0;\r\n box-shadow: 2px 4px 8px rgba(0,0,0,.2);\r\n }\r\n .VideoSeriesCard-module_article__Hlc3e a {\r\n flex-direction: column;\r\n align-items: center;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ {\r\n overflow: hidden;\r\n width: 100%;\r\n margin-bottom: 1rem;\r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ img{\r\n border-radius: 10px 10px 0 0; \r\n }\r\n .VideoSeriesCard-module_thumb__3hGyJ figure {\r\n margin: 0;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N {\r\n width: 90%;\r\n padding: 1rem !important;\r\n }\r\n .VideoSeriesCard-module_info__2_i1N h2 {\r\n font-size: 1rem;\r\n }\r\n}\r\n";
|
|
@@ -27,52 +27,52 @@ var VideoSeriesCard = function VideoSeriesCard(props) {
|
|
|
27
27
|
|
|
28
28
|
var episode = parseInt(index) + 1;
|
|
29
29
|
var builder = imageUrlBuilder(client);
|
|
30
|
-
return
|
|
30
|
+
return React.createElement(
|
|
31
31
|
'div',
|
|
32
32
|
{ className: styles.article },
|
|
33
|
-
|
|
33
|
+
React.createElement(
|
|
34
34
|
'a',
|
|
35
35
|
{ href: '/view/' + data.url.current, style: variant === 'right' ? { flexDirection: 'row-reverse' } : {} },
|
|
36
|
-
|
|
36
|
+
React.createElement(
|
|
37
37
|
'div',
|
|
38
38
|
{ className: styles.thumb },
|
|
39
|
-
|
|
39
|
+
React.createElement(
|
|
40
40
|
'figure',
|
|
41
41
|
null,
|
|
42
|
-
|
|
42
|
+
React.createElement(
|
|
43
43
|
LazyLoad,
|
|
44
44
|
null,
|
|
45
|
-
|
|
45
|
+
React.createElement('img', {
|
|
46
46
|
src: data.thumbnail && data.thumbnail.asset ? builder.image(data.thumbnail).url() : data.thumbnail && _typeof(data.thumbnail == 'string') ? data.thumbnail : defaultImage
|
|
47
47
|
})
|
|
48
48
|
)
|
|
49
49
|
)
|
|
50
50
|
),
|
|
51
|
-
|
|
51
|
+
React.createElement(
|
|
52
52
|
'div',
|
|
53
53
|
{ className: styles.info, style: variant === 'right' ? { padding: '0 1rem 0 0' } : { padding: ' 0 0 0 1rem' } },
|
|
54
|
-
|
|
54
|
+
React.createElement(
|
|
55
55
|
'h2',
|
|
56
56
|
null,
|
|
57
57
|
episode && 'EP ' + episode + ': ',
|
|
58
58
|
data.title
|
|
59
59
|
),
|
|
60
|
-
data.published &&
|
|
60
|
+
data.published && React.createElement(
|
|
61
61
|
'p',
|
|
62
62
|
{ className: styles.published },
|
|
63
63
|
moment(data.published).format('MMMM Do YYYY')
|
|
64
64
|
),
|
|
65
|
-
data.authorMapping && data.authorMapping.displayName &&
|
|
65
|
+
data.authorMapping && data.authorMapping.displayName && React.createElement(
|
|
66
66
|
'p',
|
|
67
67
|
{ className: styles.author },
|
|
68
68
|
'By ',
|
|
69
|
-
|
|
69
|
+
React.createElement(
|
|
70
70
|
'span',
|
|
71
71
|
null,
|
|
72
72
|
data.authorMapping.displayName
|
|
73
73
|
)
|
|
74
74
|
),
|
|
75
|
-
data.intro &&
|
|
75
|
+
data.intro && React.createElement('p', { dangerouslySetInnerHTML: { __html: data.intro }, className: styles.summary })
|
|
76
76
|
)
|
|
77
77
|
)
|
|
78
78
|
);
|
|
@@ -5,7 +5,7 @@ import './_library-528f1934.js';
|
|
|
5
5
|
import './_iter-detect-59409a32.js';
|
|
6
6
|
import './core.get-iterator-method-54d2e411.js';
|
|
7
7
|
import './web.dom.iterable-8956f9a5.js';
|
|
8
|
-
import
|
|
8
|
+
import React, { useState, useEffect } from 'react';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
11
11
|
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
|
|
@@ -93,13 +93,13 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
93
93
|
});
|
|
94
94
|
}
|
|
95
95
|
}, [filter]);
|
|
96
|
-
return
|
|
97
|
-
|
|
96
|
+
return React.createElement(
|
|
97
|
+
React.Fragment,
|
|
98
98
|
null,
|
|
99
|
-
|
|
99
|
+
React.createElement(
|
|
100
100
|
DropdownButton,
|
|
101
101
|
{ className: 'filter_dropdown', variant: 'primary', title: filter.name },
|
|
102
|
-
|
|
102
|
+
React.createElement(
|
|
103
103
|
Dropdown.Item,
|
|
104
104
|
{ key: 'all', onClick: function onClick() {
|
|
105
105
|
return setFilter({ name: 'All Topics', id: '' });
|
|
@@ -108,7 +108,7 @@ var VideoSeriesFilter = function VideoSeriesFilter(props) {
|
|
|
108
108
|
),
|
|
109
109
|
filterData && filterData.map(function (filterItem) {
|
|
110
110
|
if (filterItem.identifier !== exclude) {
|
|
111
|
-
return
|
|
111
|
+
return React.createElement(
|
|
112
112
|
Dropdown.Item,
|
|
113
113
|
{ key: filterItem._id, onClick: function onClick() {
|
|
114
114
|
return setFilter({ name: filterItem.name, id: filterItem._id });
|
|
@@ -6,31 +6,30 @@ import './core.get-iterator-method-54d2e411.js';
|
|
|
6
6
|
import './_object-pie-71ac75a4.js';
|
|
7
7
|
import { _ as _extends } from './extends-cc5da797.js';
|
|
8
8
|
import './_object-sap-4d59d5bd.js';
|
|
9
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
9
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-596840e8.js';
|
|
10
10
|
import './define-property-de3fc946.js';
|
|
11
11
|
import './web.dom.iterable-8956f9a5.js';
|
|
12
|
-
import './typeof-
|
|
12
|
+
import './typeof-ee095d0c.js';
|
|
13
13
|
import './_is-array-49698029.js';
|
|
14
|
-
import
|
|
15
|
-
import { l as lib_3 } from './index-
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { l as lib_3 } from './index-acfb8079.js';
|
|
16
16
|
import 'prop-types';
|
|
17
17
|
import Container from 'react-bootstrap/Container';
|
|
18
|
-
import { m as moment } from './moment-
|
|
18
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
19
19
|
import { withRouter } from 'next/router';
|
|
20
20
|
import './isSymbol-807e927e.js';
|
|
21
21
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
22
|
-
import { I as InfiniteScroll } from './index.es-
|
|
22
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
23
23
|
import 'react-dom';
|
|
24
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
25
|
-
import './index-
|
|
26
|
-
import './index-
|
|
27
|
-
import './main-
|
|
24
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
25
|
+
import './index-51a80699.js';
|
|
26
|
+
import './index-c5fd0af5.js';
|
|
27
|
+
import './main-747e7d25.js';
|
|
28
28
|
import './slicedToArray-7021e5df.js';
|
|
29
|
-
import './
|
|
30
|
-
import './smoothscroll-0cd4c7a6.js';
|
|
29
|
+
import './smoothscroll-4b699764.js';
|
|
31
30
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
32
31
|
import './iconBase-602d52fe.js';
|
|
33
|
-
import { I as IoIosArrowForward } from './index.esm-
|
|
32
|
+
import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
34
33
|
|
|
35
34
|
var VideoSeriesListing = function (_React$Component) {
|
|
36
35
|
_inherits(VideoSeriesListing, _React$Component);
|
|
@@ -193,15 +192,15 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
193
192
|
}, _this.renderManualPagination = function () {
|
|
194
193
|
var currentPage = _this.state.currentPage;
|
|
195
194
|
|
|
196
|
-
return
|
|
195
|
+
return React.createElement(
|
|
197
196
|
'div',
|
|
198
197
|
{ className: 'd-flex justify-content-between' },
|
|
199
|
-
currentPage && currentPage > 1 &&
|
|
198
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
200
199
|
'a',
|
|
201
200
|
{ href: '?page=' + (currentPage - 1) },
|
|
202
201
|
'<< Previous'
|
|
203
202
|
),
|
|
204
|
-
|
|
203
|
+
React.createElement(
|
|
205
204
|
'a',
|
|
206
205
|
{ href: '?page=' + (currentPage + 1) },
|
|
207
206
|
'Next >>'
|
|
@@ -210,7 +209,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
210
209
|
}, _this.renderSeries = function (seriesData) {
|
|
211
210
|
var itemCounter = 0;
|
|
212
211
|
|
|
213
|
-
return
|
|
212
|
+
return React.createElement(
|
|
214
213
|
'div',
|
|
215
214
|
null,
|
|
216
215
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
@@ -220,24 +219,24 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
220
219
|
});
|
|
221
220
|
}
|
|
222
221
|
|
|
223
|
-
return
|
|
222
|
+
return React.createElement(
|
|
224
223
|
'div',
|
|
225
224
|
{ key: index, counter: itemCounter++ },
|
|
226
|
-
|
|
225
|
+
React.createElement(
|
|
227
226
|
'h4',
|
|
228
227
|
{ className: 'video-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', borderBottom: '2px solid #d4a64d' } },
|
|
229
|
-
|
|
228
|
+
React.createElement(
|
|
230
229
|
'a',
|
|
231
230
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
|
232
231
|
docSeries.title,
|
|
233
|
-
|
|
232
|
+
React.createElement(
|
|
234
233
|
'span',
|
|
235
234
|
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)' } },
|
|
236
|
-
|
|
235
|
+
React.createElement(IoIosArrowForward, null)
|
|
237
236
|
)
|
|
238
237
|
)
|
|
239
238
|
),
|
|
240
|
-
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos ?
|
|
239
|
+
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos ? React.createElement(YoutubeGroup, _extends({ displayEpisodeNumber: true, key: index, dataset: docSeries.body[0].videos }, _this.props)) : React.createElement(
|
|
241
240
|
'p',
|
|
242
241
|
null,
|
|
243
242
|
'No Video Found.'
|
|
@@ -263,32 +262,32 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
263
262
|
|
|
264
263
|
|
|
265
264
|
if (autoScroll) {
|
|
266
|
-
return
|
|
267
|
-
|
|
265
|
+
return React.createElement(
|
|
266
|
+
React.Fragment,
|
|
268
267
|
null,
|
|
269
268
|
this.state.data.length >= 1 && this.state.data[0].length > 0 ?
|
|
270
269
|
//Check if any Video Groups available
|
|
271
|
-
|
|
270
|
+
React.createElement(
|
|
272
271
|
InfiniteScroll,
|
|
273
272
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.8 },
|
|
274
|
-
|
|
273
|
+
React.createElement(
|
|
275
274
|
Container,
|
|
276
275
|
null,
|
|
277
276
|
this.state.data && this.state.data.map(function (series, index) {
|
|
278
277
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
279
278
|
|
|
280
|
-
return
|
|
281
|
-
|
|
279
|
+
return React.createElement(
|
|
280
|
+
React.Fragment,
|
|
282
281
|
{ key: index },
|
|
283
|
-
|
|
282
|
+
React.createElement(
|
|
284
283
|
VisibilitySensor,
|
|
285
284
|
{
|
|
286
285
|
onChange: function onChange(isVisible) {
|
|
287
286
|
isVisible && _this2.changePageNumber(page);
|
|
288
287
|
} },
|
|
289
|
-
|
|
288
|
+
React.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
290
289
|
),
|
|
291
|
-
|
|
290
|
+
React.createElement(
|
|
292
291
|
'div',
|
|
293
292
|
null,
|
|
294
293
|
_this2.renderSeries(series)
|
|
@@ -296,13 +295,13 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
296
295
|
);
|
|
297
296
|
})
|
|
298
297
|
)
|
|
299
|
-
) :
|
|
298
|
+
) : React.createElement(
|
|
300
299
|
'div',
|
|
301
300
|
{ style: { marginTop: '10px' } },
|
|
302
|
-
|
|
301
|
+
React.createElement(
|
|
303
302
|
'h5',
|
|
304
303
|
null,
|
|
305
|
-
|
|
304
|
+
React.createElement(
|
|
306
305
|
'em',
|
|
307
306
|
null,
|
|
308
307
|
'New content coming soon, please check back later.'
|
|
@@ -312,34 +311,34 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
312
311
|
);
|
|
313
312
|
}
|
|
314
313
|
if (!autoScroll) {
|
|
315
|
-
return
|
|
316
|
-
|
|
314
|
+
return React.createElement(
|
|
315
|
+
React.Fragment,
|
|
317
316
|
null,
|
|
318
317
|
this.state.data.length >= 1 && this.state.data[0].length > 0 ?
|
|
319
318
|
//Check if any Video Groups available
|
|
320
|
-
|
|
319
|
+
React.createElement(
|
|
321
320
|
Container,
|
|
322
321
|
null,
|
|
323
322
|
this.state.data && this.state.data.map(function (series, index) {
|
|
324
323
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
325
324
|
|
|
326
|
-
return
|
|
327
|
-
|
|
325
|
+
return React.createElement(
|
|
326
|
+
React.Fragment,
|
|
328
327
|
{ key: index },
|
|
329
|
-
|
|
328
|
+
React.createElement(
|
|
330
329
|
VisibilitySensor,
|
|
331
330
|
{
|
|
332
331
|
onChange: function onChange(isVisible) {
|
|
333
332
|
isVisible && _this2.changePageNumber(page);
|
|
334
333
|
} },
|
|
335
|
-
|
|
334
|
+
React.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
336
335
|
),
|
|
337
|
-
|
|
336
|
+
React.createElement(
|
|
338
337
|
'div',
|
|
339
338
|
null,
|
|
340
339
|
_this2.renderSeries(series)
|
|
341
340
|
),
|
|
342
|
-
_this2.state.scrolling ?
|
|
341
|
+
_this2.state.scrolling ? React.createElement(
|
|
343
342
|
'button',
|
|
344
343
|
{
|
|
345
344
|
className: 'btn',
|
|
@@ -358,10 +357,10 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
358
357
|
_this2.loadMore();
|
|
359
358
|
} },
|
|
360
359
|
'Load More'
|
|
361
|
-
) :
|
|
360
|
+
) : React.createElement(
|
|
362
361
|
'p',
|
|
363
362
|
{ style: { textAlign: 'center' } },
|
|
364
|
-
|
|
363
|
+
React.createElement(
|
|
365
364
|
'b',
|
|
366
365
|
null,
|
|
367
366
|
'End of data'
|
|
@@ -369,13 +368,13 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
369
368
|
)
|
|
370
369
|
);
|
|
371
370
|
})
|
|
372
|
-
) :
|
|
371
|
+
) : React.createElement(
|
|
373
372
|
'div',
|
|
374
373
|
{ style: { marginTop: '10px' } },
|
|
375
|
-
|
|
374
|
+
React.createElement(
|
|
376
375
|
'h5',
|
|
377
376
|
null,
|
|
378
|
-
|
|
377
|
+
React.createElement(
|
|
379
378
|
'em',
|
|
380
379
|
null,
|
|
381
380
|
'New content coming soon, please check back later.'
|
|
@@ -388,7 +387,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
388
387
|
}]);
|
|
389
388
|
|
|
390
389
|
return VideoSeriesListing;
|
|
391
|
-
}(
|
|
390
|
+
}(React.Component);
|
|
392
391
|
|
|
393
392
|
var VideoSeriesListing$1 = withRouter(VideoSeriesListing);
|
|
394
393
|
|