@mjhls/mjh-framework 1.0.689 → 1.0.690
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 +10 -9
- package/dist/cjs/AD300x250.js +24 -23
- package/dist/cjs/AD300x250x600.js +24 -23
- package/dist/cjs/AD728x90.js +27 -26
- package/dist/cjs/ADFloatingFooter.js +29 -28
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +26 -25
- package/dist/cjs/{ADInfeed-3410ab3c.js → ADInfeed-ba531ca6.js} +13 -11
- package/dist/cjs/ADSkyscraper.js +26 -25
- package/dist/cjs/ADSponsoredResources.js +26 -25
- package/dist/cjs/ADWebcast.js +26 -25
- package/dist/cjs/ADWelcome.js +30 -29
- package/dist/cjs/{ADlgInfeed-845aac15.js → ADlgInfeed-b0cc0e88.js} +9 -8
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +30 -29
- package/dist/cjs/AdSlotsProvider.js +7 -6
- package/dist/cjs/AlphabeticList.js +25 -24
- package/dist/cjs/ArticleCarousel.js +22 -21
- package/dist/cjs/ArticleSeriesListing.js +58 -57
- package/dist/cjs/Auth.js +793 -557
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-98ebefa4.js} +14 -13
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-88f69acd.js → BlockContent-bbc3be61.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/BrowseVideosListing.js +28 -27
- package/dist/cjs/CMEDeck.js +77 -77
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +35 -32
- package/dist/cjs/Column3.js +57 -54
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +106 -102
- package/dist/cjs/DeckQueue.js +90 -86
- package/dist/cjs/{Dfp-b2bc3b97.js → Dfp-76acc8c2.js} +31 -30
- package/dist/cjs/EventsDeck.js +153 -146
- package/dist/cjs/ExternalResources.js +73 -72
- package/dist/cjs/Feature.js +27 -25
- package/dist/cjs/ForbesHero.js +41 -40
- package/dist/cjs/GridContent.js +180 -176
- package/dist/cjs/GridHero.js +43 -42
- package/dist/cjs/GroupDeck.js +50 -49
- package/dist/cjs/HamMagazine.js +144 -139
- package/dist/cjs/Header.js +13 -11
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalHero.js +26 -25
- package/dist/cjs/IssueContentDeck.js +77 -72
- package/dist/cjs/IssueDeck.js +75 -70
- package/dist/cjs/IssueLanding.js +70 -69
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +37 -35
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/NavDvm.js +80 -75
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +153 -148
- package/dist/cjs/NavNative.js +128 -120
- package/dist/cjs/NavNormal.js +53 -48
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +67 -66
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +1302 -104
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PublicationDeck.js +66 -61
- package/dist/cjs/PublicationLanding.js +98 -94
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +24 -23
- package/dist/cjs/RelatedContent.js +53 -52
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +38 -37
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-6b5e5b47.js → SocialSearchComponent-de064e93.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +62 -57
- package/dist/cjs/TemplateNormal.js +72 -71
- package/dist/cjs/ThumbnailCard.js +22 -20
- package/dist/cjs/Ustream.js +27 -26
- package/dist/cjs/VerticalHero.js +18 -17
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesListing.js +72 -71
- package/dist/cjs/View.js +238 -235
- package/dist/cjs/YahooHero.js +40 -39
- package/dist/cjs/YoutubeGroup.js +69 -68
- package/dist/cjs/{_is-array-754e012d.js → _is-array-b1090e3d.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-8decaf0f.js} +2 -2
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-b69cab35.js} +1 -1
- package/dist/cjs/{_set-species-f92c67c5.js → _set-species-5c9fd235.js} +4 -4
- package/dist/cjs/{_to-object-329a650b.js → _to-object-e2d5cc9d.js} +3 -3
- package/dist/cjs/{asyncToGenerator-533d476a.js → asyncToGenerator-a855b820.js} +6 -6
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-bf3fde8c.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-1d75ae0f.js} +1 -1
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-16bd5829.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-e3ce14ae.js} +1 -1
- package/dist/cjs/{extends-60837c34.js → extends-a9da965c.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +424 -13
- package/dist/cjs/getSerializers.js +39 -39
- package/dist/cjs/{getTargeting-fee8c429.js → getTargeting-d8df2f51.js} +11 -11
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-b5eb3ff8.js → index-10185024.js} +3 -3
- package/dist/cjs/{index-2d0a4911.js → index-5ad2b070.js} +12 -11
- package/dist/cjs/{index-5be2866f.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-da796b8c.js → index-80f57cff.js} +17 -15
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-44c25825.js → index-e1d6c590.js} +427 -417
- package/dist/cjs/{index.es-ab3f2690.js → index.es-f3e47207.js} +28 -11
- 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-876ca9ff.js → index.esm-61650d1a.js} +5 -12
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/index.js +126 -127
- package/dist/cjs/{inherits-513d81cd.js → inherits-3affeccb.js} +8 -8
- package/dist/cjs/{keys-a586b7a0.js → keys-218a754a.js} +2 -2
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-b6c96c8d.js → main-df97bfe9.js} +84 -79
- package/dist/cjs/{moment-66a6a284.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5b1b0ed8.js} +4 -4
- package/dist/cjs/{smoothscroll-95231a70.js → smoothscroll-1abb448e.js} +1 -1
- package/dist/cjs/{stringify-7c5aff47.js → stringify-4f757ee6.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-57153848.js} +4 -4
- package/dist/cjs/{typeof-725500bc.js → typeof-c69a5548.js} +6 -6
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{visibility-sensor-0c45a583.js → visibility-sensor-8b54af99.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-0ffca19f.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +20 -20
- package/dist/esm/AD300x250x600.js +20 -20
- package/dist/esm/AD728x90.js +23 -23
- package/dist/esm/ADFloatingFooter.js +25 -25
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +22 -22
- package/dist/esm/{ADInfeed-205cb7a9.js → ADInfeed-45191cf8.js} +7 -7
- package/dist/esm/ADSkyscraper.js +22 -22
- package/dist/esm/ADSponsoredResources.js +22 -22
- package/dist/esm/ADWebcast.js +22 -22
- package/dist/esm/ADWelcome.js +26 -26
- package/dist/esm/{ADlgInfeed-e538f17a.js → ADlgInfeed-1f8fc733.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +21 -21
- package/dist/esm/AdSlotsProvider.js +3 -3
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +18 -18
- package/dist/esm/ArticleSeriesListing.js +52 -52
- package/dist/esm/Auth.js +775 -543
- package/dist/esm/{AuthorComponent-00f13201.js → AuthorComponent-30ec92a8.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-a614acdf.js → BlockContent-c5de3044.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/BrowseVideosListing.js +24 -24
- package/dist/esm/CMEDeck.js +73 -73
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +47 -47
- package/dist/esm/ConferenceArticleCard.js +33 -33
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +84 -84
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-8a8fca18.js → Dfp-8b5b19d0.js} +20 -20
- package/dist/esm/EventsDeck.js +99 -99
- package/dist/esm/ExternalResources.js +66 -66
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +138 -138
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +113 -113
- package/dist/esm/Header.js +7 -7
- package/dist/esm/Hero.js +9 -9
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +49 -49
- package/dist/esm/IssueDeck.js +46 -46
- package/dist/esm/IssueLanding.js +66 -66
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +31 -31
- package/dist/esm/MasterDeck.js +74 -74
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +98 -98
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +1296 -100
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PublicationDeck.js +38 -38
- package/dist/esm/PublicationLanding.js +75 -75
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +47 -47
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +33 -33
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-7f14e0f3.js → SocialSearchComponent-cddc9ce1.js} +26 -26
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TemplateNormal.js +65 -65
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesListing.js +65 -65
- package/dist/esm/View.js +224 -225
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +53 -53
- package/dist/esm/{_is-array-49698029.js → _is-array-ffa65b7e.js} +6 -6
- package/dist/esm/{_iter-detect-59409a32.js → _iter-detect-256a4d61.js} +2 -2
- package/dist/esm/{_object-sap-4d59d5bd.js → _object-sap-0cecd031.js} +1 -1
- package/dist/esm/{_set-species-cede29f8.js → _set-species-09ba387c.js} +4 -4
- package/dist/esm/{_to-object-ded78eb9.js → _to-object-ee10dabb.js} +4 -4
- package/dist/esm/{asyncToGenerator-7c654f36.js → asyncToGenerator-b0af4000.js} +6 -6
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-54d2e411.js → core.get-iterator-method-0e6dc181.js} +2 -2
- package/dist/esm/{define-property-de3fc946.js → define-property-e013aae3.js} +1 -1
- package/dist/esm/{defineProperty-b798470d.js → defineProperty-2385da87.js} +1 -1
- package/dist/esm/{es6.string.iterator-9b2af4a5.js → es6.string.iterator-c5179428.js} +2 -2
- package/dist/esm/{extends-cc5da797.js → extends-03593dc6.js} +1 -1
- package/dist/esm/getRelatedArticle.js +424 -13
- package/dist/esm/getSerializers.js +39 -39
- package/dist/esm/{getTargeting-2acdec91.js → getTargeting-60717d7f.js} +11 -11
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-51a80699.js → index-4de5c15f.js} +3 -3
- package/dist/esm/{index-93ec3c59.js → index-669ff425.js} +6 -6
- package/dist/esm/{index-5f9f807a.js → index-752d1dae.js} +10 -10
- package/dist/esm/{index-d2f90501.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-8a757d91.js → index-cbd95715.js} +373 -369
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-938a3a58.js → index.es-c6222053.js} +25 -9
- package/dist/esm/{index.esm-85cb09e6.js → index.esm-79385203.js} +5 -12
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.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 +104 -105
- package/dist/esm/{inherits-7ee3e0c1.js → inherits-d88f5b29.js} +5 -5
- package/dist/esm/{keys-fc2d4c34.js → keys-618df59d.js} +2 -2
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-0465b2a0.js → main-a2443735.js} +84 -80
- package/dist/esm/{moment-12415288.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-7021e5df.js → slicedToArray-648674b3.js} +4 -4
- package/dist/esm/{smoothscroll-4b699764.js → smoothscroll-ab6e0238.js} +1 -1
- package/dist/esm/{stringify-008c8802.js → stringify-7c97a94d.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-725434a0.js → toConsumableArray-aa76a4fe.js} +4 -4
- package/dist/esm/{typeof-08f2c380.js → typeof-5c759779.js} +6 -6
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-0baa4eea.js → visibility-sensor-082c757b.js} +2 -2
- package/dist/esm/{web.dom.iterable-8956f9a5.js → web.dom.iterable-de3b4afb.js} +3 -3
- package/package.json +107 -107
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import Media from 'react-bootstrap/Media';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-4de5c15f.js';
|
|
4
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
5
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import 'prop-types';
|
|
4
7
|
import 'react-dom';
|
|
5
|
-
import
|
|
6
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
7
|
-
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
8
|
-
import Media from 'react-bootstrap/Media';
|
|
8
|
+
import 'prop-types';
|
|
9
9
|
|
|
10
10
|
var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
11
11
|
var size = _ref.size,
|
|
@@ -19,27 +19,27 @@ var ThumbnailCard = function ThumbnailCard(_ref) {
|
|
|
19
19
|
return builder.image(source).auto('format');
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
return
|
|
22
|
+
return React.createElement(
|
|
23
23
|
'div',
|
|
24
24
|
null,
|
|
25
25
|
mediaData && mediaData.map(function (item, index) {
|
|
26
|
-
return
|
|
26
|
+
return React.createElement(
|
|
27
27
|
Media,
|
|
28
28
|
{ className: 'mb-3 thumbnail-card' },
|
|
29
|
-
|
|
29
|
+
React.createElement(
|
|
30
30
|
LazyLoad,
|
|
31
31
|
{ height: size },
|
|
32
|
-
|
|
32
|
+
React.createElement('img', { width: size, height: size, className: 'mr-3', src: item.thumbnail ? urlFor(item.thumbnail).url() : defaultImage, alt: 'Generic placeholder' })
|
|
33
33
|
),
|
|
34
|
-
|
|
34
|
+
React.createElement(
|
|
35
35
|
Media.Body,
|
|
36
36
|
null,
|
|
37
|
-
|
|
37
|
+
React.createElement(
|
|
38
38
|
'h5',
|
|
39
39
|
null,
|
|
40
40
|
item.title
|
|
41
41
|
),
|
|
42
|
-
|
|
42
|
+
React.createElement(
|
|
43
43
|
'p',
|
|
44
44
|
null,
|
|
45
45
|
clean_html_1(item.summary)
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-648674b3.js';
|
|
2
|
+
import React, { useState, useRef, useEffect } from 'react';
|
|
3
|
+
import { c as IoIosOpen } from './index.esm-79385203.js';
|
|
4
|
+
import { F as FaRegWindowClose } from './index.esm-a8ff922c.js';
|
|
5
|
+
import { m as main_40 } from './main-a2443735.js';
|
|
1
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './
|
|
5
|
-
import './
|
|
6
|
-
import React__default, { useState, useRef, useEffect } from 'react';
|
|
7
|
-
import { m as main_39 } from './main-0465b2a0.js';
|
|
8
|
-
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
7
|
+
import './web.dom.iterable-de3b4afb.js';
|
|
8
|
+
import './es6.string.iterator-c5179428.js';
|
|
9
|
+
import './_to-object-ee10dabb.js';
|
|
10
|
+
import './core.get-iterator-method-0e6dc181.js';
|
|
9
11
|
import './iconBase-602d52fe.js';
|
|
10
|
-
import { c as IoIosOpen } from './index.esm-85cb09e6.js';
|
|
11
|
-
import { F as FaRegWindowClose } from './index.esm-cf08bf18.js';
|
|
12
12
|
|
|
13
13
|
var Ustream = function Ustream(_ref) {
|
|
14
14
|
var _ref$width = _ref.width,
|
|
@@ -65,36 +65,36 @@ var Ustream = function Ustream(_ref) {
|
|
|
65
65
|
} catch (err) {}
|
|
66
66
|
}, []);
|
|
67
67
|
//return nothing if mobile
|
|
68
|
-
if (
|
|
68
|
+
if (main_40) {
|
|
69
69
|
return null;
|
|
70
70
|
}
|
|
71
|
-
return
|
|
71
|
+
return React.createElement(
|
|
72
72
|
'div',
|
|
73
73
|
{ id: 'ustream-container', ref: ustreamContainer, style: { width: '' + currentWidth, marginBottom: '1rem' } },
|
|
74
|
-
|
|
74
|
+
React.createElement(
|
|
75
75
|
'div',
|
|
76
76
|
{ style: { position: 'relative' } },
|
|
77
|
-
close ?
|
|
77
|
+
close ? React.createElement(
|
|
78
78
|
'div',
|
|
79
79
|
{ className: 'ustream-close' },
|
|
80
|
-
|
|
81
|
-
) :
|
|
82
|
-
|
|
80
|
+
React.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1.3rem' } })
|
|
81
|
+
) : React.createElement(
|
|
82
|
+
React.Fragment,
|
|
83
83
|
null,
|
|
84
|
-
|
|
84
|
+
React.createElement(
|
|
85
85
|
'div',
|
|
86
86
|
{ className: 'ustream-minimize' },
|
|
87
|
-
|
|
87
|
+
React.createElement(IoIosOpen, { style: right ? { color: '#fff', fontSize: '1.3rem', transform: 'rotateZ(-90deg)' } : { color: '#fff', fontSize: '1.3rem' } })
|
|
88
88
|
),
|
|
89
|
-
|
|
89
|
+
React.createElement(
|
|
90
90
|
'div',
|
|
91
91
|
{ className: 'ustream-close' },
|
|
92
|
-
|
|
92
|
+
React.createElement(FaRegWindowClose, { style: { color: '#fff', fontSize: '1rem' } })
|
|
93
93
|
)
|
|
94
94
|
),
|
|
95
|
-
|
|
95
|
+
React.createElement('iframe', { id: 'ustream-iframe', webkitallowfullscreen: 'true', allowFullScreen: true, frameBorder: 'no', style: { maxWidth: '100%', height: currentHeight, width: currentWidth } })
|
|
96
96
|
),
|
|
97
|
-
|
|
97
|
+
React.createElement(
|
|
98
98
|
'style',
|
|
99
99
|
{ jsx: 'true' },
|
|
100
100
|
'\n #ustream-container {\n position: fixed;\n bottom: 0;\n ' + (right ? 'right: 1rem;' : 'left: 1.5rem;') + '\n /* Updating z-index to fix gutter ad over ustream */\n z-index: 999999;\n max-width: 100%;\n }\n .ustream-minimize,\n .ustream-close {\n position: absolute;\n color: white;\n right: 0.5rem;\n top: 0.25rem;\n cursor: pointer;\n font-weight: bold;\n }\n .ustream-close {\n ' + (close ? 'display: block; right: .75rem; top: .5rem; ' : 'display: none; right: .5rem; top: .75rem;') + '\n }\n @media screen and (max-width: 768px) {\n #ustream-container:not(.closed) {\n width: 231px !important;\n height: 130px !important;\n }\n #ustream-container:not(.closed) iframe {\n height: 130px !important;\n }\n }\n '
|
|
@@ -102,6 +102,6 @@ var Ustream = function Ustream(_ref) {
|
|
|
102
102
|
);
|
|
103
103
|
};
|
|
104
104
|
|
|
105
|
-
var Ustream$1 =
|
|
105
|
+
var Ustream$1 = React.memo(Ustream);
|
|
106
106
|
|
|
107
107
|
export default Ustream$1;
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import './moment-b6f49411.js';
|
|
3
|
+
import { i as imageUrlBuilder } from './index-4de5c15f.js';
|
|
1
4
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import React__default from 'react';
|
|
3
|
-
import './moment-12415288.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 '
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
+
import { _ as _typeof } from './typeof-5c759779.js';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { L as LazyLoad } from './index-752d1dae.js';
|
|
4
|
+
import { i as imageUrlBuilder } from './index-4de5c15f.js';
|
|
5
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
6
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
|
+
import 'prop-types';
|
|
1
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
4
|
-
import './
|
|
9
|
+
import './es6.string.iterator-c5179428.js';
|
|
10
|
+
import './_to-object-ee10dabb.js';
|
|
11
|
+
import './web.dom.iterable-de3b4afb.js';
|
|
12
|
+
import './_is-array-ffa65b7e.js';
|
|
5
13
|
import './_object-pie-71ac75a4.js';
|
|
6
|
-
import './
|
|
7
|
-
import { _ as _typeof } from './typeof-08f2c380.js';
|
|
8
|
-
import './_is-array-49698029.js';
|
|
9
|
-
import React__default from 'react';
|
|
10
|
-
import 'prop-types';
|
|
11
|
-
import { m as moment } from './moment-12415288.js';
|
|
14
|
+
import './_library-528f1934.js';
|
|
12
15
|
import 'react-dom';
|
|
13
|
-
import { i as imageUrlBuilder } from './index-51a80699.js';
|
|
14
|
-
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
15
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
16
16
|
|
|
17
|
-
var css = ".VideoSeriesCard-module_article__Hlc3e {\
|
|
17
|
+
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
18
|
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
19
|
styleInject(css);
|
|
20
20
|
|
|
@@ -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
|
);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import '
|
|
4
|
-
import './_library-528f1934.js';
|
|
5
|
-
import './_iter-detect-59409a32.js';
|
|
6
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
7
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
8
|
-
import React__default, { useState, useEffect } from 'react';
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b0af4000.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-648674b3.js';
|
|
3
|
+
import React, { useState, useEffect } from 'react';
|
|
9
4
|
import { withRouter } from 'next/router';
|
|
10
|
-
import { _ as _slicedToArray } from './slicedToArray-7021e5df.js';
|
|
11
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
|
|
12
|
-
import './_set-species-cede29f8.js';
|
|
13
5
|
import { DropdownButton, Dropdown } from 'react-bootstrap';
|
|
6
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
+
import './es6.string.iterator-c5179428.js';
|
|
8
|
+
import './_to-object-ee10dabb.js';
|
|
9
|
+
import './web.dom.iterable-de3b4afb.js';
|
|
10
|
+
import './_library-528f1934.js';
|
|
11
|
+
import './core.get-iterator-method-0e6dc181.js';
|
|
12
|
+
import './_set-species-09ba387c.js';
|
|
13
|
+
import './_iter-detect-256a4d61.js';
|
|
14
14
|
|
|
15
15
|
var _this = undefined;
|
|
16
16
|
|
|
@@ -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 });
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import './
|
|
2
|
-
import './
|
|
3
|
-
import '
|
|
4
|
-
import './
|
|
5
|
-
import './core.get-iterator-method-54d2e411.js';
|
|
6
|
-
import './_object-pie-71ac75a4.js';
|
|
7
|
-
import { _ as _extends } from './extends-cc5da797.js';
|
|
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-7ee3e0c1.js';
|
|
10
|
-
import './define-property-de3fc946.js';
|
|
11
|
-
import './web.dom.iterable-8956f9a5.js';
|
|
12
|
-
import './typeof-08f2c380.js';
|
|
13
|
-
import './_is-array-49698029.js';
|
|
14
|
-
import React__default from 'react';
|
|
15
|
-
import { l as lib_3 } from './index-93ec3c59.js';
|
|
16
|
-
import 'prop-types';
|
|
1
|
+
import { _ as _extends } from './extends-03593dc6.js';
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-d88f5b29.js';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { l as lib_3 } from './index-669ff425.js';
|
|
17
5
|
import Container from 'react-bootstrap/Container';
|
|
6
|
+
import { V as VisibilitySensor } from './visibility-sensor-082c757b.js';
|
|
7
|
+
import { I as IoIosArrowForward } from './index.esm-79385203.js';
|
|
18
8
|
import { withRouter } from 'next/router';
|
|
19
|
-
import './
|
|
9
|
+
import YoutubeGroup from './YoutubeGroup.js';
|
|
20
10
|
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
21
|
-
import { I as InfiniteScroll } from './index.es-
|
|
11
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
12
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
13
|
+
import './_to-object-ee10dabb.js';
|
|
14
|
+
import './_object-pie-71ac75a4.js';
|
|
15
|
+
import './es6.string.iterator-c5179428.js';
|
|
16
|
+
import './_object-sap-0cecd031.js';
|
|
17
|
+
import './define-property-e013aae3.js';
|
|
18
|
+
import './typeof-5c759779.js';
|
|
19
|
+
import './web.dom.iterable-de3b4afb.js';
|
|
20
|
+
import './_is-array-ffa65b7e.js';
|
|
21
|
+
import './_library-528f1934.js';
|
|
22
|
+
import 'prop-types';
|
|
22
23
|
import 'react-dom';
|
|
23
|
-
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
24
|
-
import './index-51a80699.js';
|
|
25
|
-
import './index-5f9f807a.js';
|
|
26
|
-
import './slicedToArray-7021e5df.js';
|
|
27
|
-
import './smoothscroll-4b699764.js';
|
|
28
|
-
import YoutubeGroup from './YoutubeGroup.js';
|
|
29
24
|
import './iconBase-602d52fe.js';
|
|
30
|
-
import
|
|
25
|
+
import './slicedToArray-648674b3.js';
|
|
26
|
+
import './core.get-iterator-method-0e6dc181.js';
|
|
27
|
+
import './smoothscroll-ab6e0238.js';
|
|
28
|
+
import './index-752d1dae.js';
|
|
29
|
+
import './index-4de5c15f.js';
|
|
30
|
+
import './isSymbol-807e927e.js';
|
|
31
31
|
|
|
32
32
|
var VideoSeriesListing = function (_React$Component) {
|
|
33
33
|
_inherits(VideoSeriesListing, _React$Component);
|
|
@@ -69,9 +69,9 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
69
69
|
}, 0), _this.loadData = function () {
|
|
70
70
|
var _this$state = _this.state,
|
|
71
71
|
from = _this$state.from,
|
|
72
|
-
to = _this$state.to
|
|
73
|
-
|
|
74
|
-
query = _this$state.query,
|
|
72
|
+
to = _this$state.to;
|
|
73
|
+
_this$state.data;
|
|
74
|
+
var query = _this$state.query,
|
|
75
75
|
page = _this$state.page;
|
|
76
76
|
var client = _this.props.client;
|
|
77
77
|
//this.changePageNumber(page)
|
|
@@ -167,15 +167,15 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
167
167
|
}, _this.renderManualPagination = function () {
|
|
168
168
|
var currentPage = _this.state.currentPage;
|
|
169
169
|
|
|
170
|
-
return
|
|
170
|
+
return React.createElement(
|
|
171
171
|
'div',
|
|
172
172
|
{ className: 'd-flex justify-content-between' },
|
|
173
|
-
currentPage && currentPage > 1 &&
|
|
173
|
+
currentPage && currentPage > 1 && React.createElement(
|
|
174
174
|
'a',
|
|
175
175
|
{ href: '?page=' + (currentPage - 1) },
|
|
176
176
|
'<< Previous'
|
|
177
177
|
),
|
|
178
|
-
|
|
178
|
+
React.createElement(
|
|
179
179
|
'a',
|
|
180
180
|
{ href: '?page=' + (currentPage + 1) },
|
|
181
181
|
'Next >>'
|
|
@@ -184,7 +184,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
184
184
|
}, _this.renderSeries = function (seriesData) {
|
|
185
185
|
var itemCounter = 0;
|
|
186
186
|
|
|
187
|
-
return
|
|
187
|
+
return React.createElement(
|
|
188
188
|
'div',
|
|
189
189
|
null,
|
|
190
190
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
@@ -194,24 +194,24 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
194
194
|
});
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
return
|
|
197
|
+
return React.createElement(
|
|
198
198
|
'div',
|
|
199
199
|
{ key: index, counter: itemCounter++ },
|
|
200
|
-
|
|
200
|
+
React.createElement(
|
|
201
201
|
'h4',
|
|
202
202
|
{ className: 'video-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', borderBottom: '2px solid var(--gold)' } },
|
|
203
|
-
|
|
203
|
+
React.createElement(
|
|
204
204
|
'a',
|
|
205
205
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
|
206
206
|
docSeries.title,
|
|
207
|
-
|
|
207
|
+
React.createElement(
|
|
208
208
|
'span',
|
|
209
209
|
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)' } },
|
|
210
|
-
|
|
210
|
+
React.createElement(IoIosArrowForward, null)
|
|
211
211
|
)
|
|
212
212
|
)
|
|
213
213
|
),
|
|
214
|
-
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos ?
|
|
214
|
+
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(
|
|
215
215
|
'p',
|
|
216
216
|
null,
|
|
217
217
|
'No Video Found.'
|
|
@@ -237,32 +237,32 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
237
237
|
|
|
238
238
|
|
|
239
239
|
if (autoScroll) {
|
|
240
|
-
return
|
|
241
|
-
|
|
240
|
+
return React.createElement(
|
|
241
|
+
React.Fragment,
|
|
242
242
|
null,
|
|
243
243
|
this.state.data.length >= 1 && this.state.data[0].length > 0 ?
|
|
244
244
|
//Check if any Video Groups available
|
|
245
|
-
|
|
245
|
+
React.createElement(
|
|
246
246
|
InfiniteScroll,
|
|
247
247
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.8 },
|
|
248
|
-
|
|
248
|
+
React.createElement(
|
|
249
249
|
Container,
|
|
250
250
|
null,
|
|
251
251
|
this.state.data && this.state.data.map(function (series, index) {
|
|
252
252
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
253
253
|
|
|
254
|
-
return
|
|
255
|
-
|
|
254
|
+
return React.createElement(
|
|
255
|
+
React.Fragment,
|
|
256
256
|
{ key: index },
|
|
257
|
-
|
|
257
|
+
React.createElement(
|
|
258
258
|
VisibilitySensor,
|
|
259
259
|
{
|
|
260
260
|
onChange: function onChange(isVisible) {
|
|
261
261
|
isVisible && _this2.changePageNumber(page);
|
|
262
262
|
} },
|
|
263
|
-
|
|
263
|
+
React.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
264
264
|
),
|
|
265
|
-
|
|
265
|
+
React.createElement(
|
|
266
266
|
'div',
|
|
267
267
|
null,
|
|
268
268
|
_this2.renderSeries(series)
|
|
@@ -270,13 +270,13 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
270
270
|
);
|
|
271
271
|
})
|
|
272
272
|
)
|
|
273
|
-
) :
|
|
273
|
+
) : React.createElement(
|
|
274
274
|
'div',
|
|
275
275
|
{ style: { marginTop: '10px' } },
|
|
276
|
-
|
|
276
|
+
React.createElement(
|
|
277
277
|
'h5',
|
|
278
278
|
null,
|
|
279
|
-
|
|
279
|
+
React.createElement(
|
|
280
280
|
'em',
|
|
281
281
|
null,
|
|
282
282
|
'New content coming soon, please check back later.'
|
|
@@ -286,34 +286,34 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
286
286
|
);
|
|
287
287
|
}
|
|
288
288
|
if (!autoScroll) {
|
|
289
|
-
return
|
|
290
|
-
|
|
289
|
+
return React.createElement(
|
|
290
|
+
React.Fragment,
|
|
291
291
|
null,
|
|
292
292
|
this.state.data.length >= 1 && this.state.data[0].length > 0 ?
|
|
293
293
|
//Check if any Video Groups available
|
|
294
|
-
|
|
294
|
+
React.createElement(
|
|
295
295
|
Container,
|
|
296
296
|
null,
|
|
297
297
|
this.state.data && this.state.data.map(function (series, index) {
|
|
298
298
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
299
299
|
|
|
300
|
-
return
|
|
301
|
-
|
|
300
|
+
return React.createElement(
|
|
301
|
+
React.Fragment,
|
|
302
302
|
{ key: index },
|
|
303
|
-
|
|
303
|
+
React.createElement(
|
|
304
304
|
VisibilitySensor,
|
|
305
305
|
{
|
|
306
306
|
onChange: function onChange(isVisible) {
|
|
307
307
|
isVisible && _this2.changePageNumber(page);
|
|
308
308
|
} },
|
|
309
|
-
|
|
309
|
+
React.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
310
310
|
),
|
|
311
|
-
|
|
311
|
+
React.createElement(
|
|
312
312
|
'div',
|
|
313
313
|
null,
|
|
314
314
|
_this2.renderSeries(series)
|
|
315
315
|
),
|
|
316
|
-
_this2.state.scrolling ?
|
|
316
|
+
_this2.state.scrolling ? React.createElement(
|
|
317
317
|
'button',
|
|
318
318
|
{
|
|
319
319
|
className: 'btn',
|
|
@@ -323,10 +323,10 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
323
323
|
_this2.loadMore();
|
|
324
324
|
} },
|
|
325
325
|
'Load More'
|
|
326
|
-
) :
|
|
326
|
+
) : React.createElement(
|
|
327
327
|
'p',
|
|
328
328
|
{ style: { textAlign: 'center' } },
|
|
329
|
-
|
|
329
|
+
React.createElement(
|
|
330
330
|
'b',
|
|
331
331
|
null,
|
|
332
332
|
'End of data'
|
|
@@ -334,13 +334,13 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
334
334
|
)
|
|
335
335
|
);
|
|
336
336
|
})
|
|
337
|
-
) :
|
|
337
|
+
) : React.createElement(
|
|
338
338
|
'div',
|
|
339
339
|
{ style: { marginTop: '10px' } },
|
|
340
|
-
|
|
340
|
+
React.createElement(
|
|
341
341
|
'h5',
|
|
342
342
|
null,
|
|
343
|
-
|
|
343
|
+
React.createElement(
|
|
344
344
|
'em',
|
|
345
345
|
null,
|
|
346
346
|
'New content coming soon, please check back later.'
|
|
@@ -353,7 +353,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
353
353
|
}]);
|
|
354
354
|
|
|
355
355
|
return VideoSeriesListing;
|
|
356
|
-
}(
|
|
356
|
+
}(React.Component);
|
|
357
357
|
|
|
358
358
|
var VideoSeriesListing$1 = withRouter(VideoSeriesListing);
|
|
359
359
|
|