@mjhls/mjh-framework 1.0.710 → 1.0.711-beta.2
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 +1 -1
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +24 -25
- package/dist/cjs/AD300x250x600.js +24 -25
- package/dist/cjs/AD728x90.js +27 -28
- package/dist/cjs/ADFloatingFooter.js +26 -27
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +26 -27
- package/dist/cjs/{ADInfeed-2c7a6dd8.js → ADInfeed-5a561d7c.js} +11 -13
- package/dist/cjs/ADSkyscraper.js +26 -27
- package/dist/cjs/ADSponsoredResources.js +26 -27
- package/dist/cjs/ADWebcast.js +26 -27
- package/dist/cjs/ADWelcome.js +30 -31
- package/dist/cjs/{ADlgInfeed-fb101797.js → ADlgInfeed-c50f81d4.js} +8 -9
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +31 -32
- package/dist/cjs/AdSlotsProvider.js +7 -8
- package/dist/cjs/AlphabeticList.js +24 -25
- package/dist/cjs/ArticleCarousel.js +23 -23
- package/dist/cjs/ArticleSeriesListing.js +59 -59
- package/dist/cjs/Auth.js +334 -820
- package/dist/cjs/{AuthorComponent-5fa89df5.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +9 -9
- package/dist/cjs/{BlockContent-eca358e4.js → BlockContent-091a991f.js} +24 -25
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/BrowseVideosListing.js +41 -41
- package/dist/cjs/CMEDeck.js +78 -78
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +32 -35
- package/dist/cjs/Column3.js +55 -58
- package/dist/cjs/ConferenceArticleCard.js +22 -23
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +94 -98
- package/dist/cjs/DeckQueue.js +86 -90
- package/dist/cjs/{Dfp-a863cf48.js → Dfp-ce7ac168.js} +30 -31
- package/dist/cjs/EventsDeck.js +129 -136
- package/dist/cjs/ExternalResources.js +78 -76
- package/dist/cjs/Feature.js +25 -27
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +177 -181
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +52 -52
- package/dist/cjs/HamMagazine.js +130 -135
- package/dist/cjs/Header.js +11 -13
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalHero.js +25 -26
- package/dist/cjs/IssueContentDeck.js +72 -77
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +40 -41
- package/dist/cjs/LeftNav.js +36 -38
- package/dist/cjs/MasterDeck.js +71 -72
- package/dist/cjs/NavDvm.js +75 -80
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +138 -143
- package/dist/cjs/NavNative.js +115 -123
- package/dist/cjs/NavNormal.js +48 -53
- package/dist/cjs/OncliveHero.js +20 -20
- package/dist/cjs/OncliveLargeHero.js +66 -67
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +106 -106
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PublicationDeck.js +61 -66
- package/dist/cjs/PublicationLanding.js +74 -78
- package/dist/cjs/QueueDeckExpanded.js +292 -292
- package/dist/cjs/RecentNews.js +23 -24
- package/dist/cjs/RelatedContent.js +24 -25
- package/dist/cjs/RelatedTopicsDropdown.js +19 -22
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +35 -36
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-45c54bed.js → SocialSearchComponent-8dd468fd.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +57 -62
- package/dist/cjs/TaxonomyDescription.js +51 -51
- package/dist/cjs/TemplateNormal.js +72 -73
- package/dist/cjs/ThumbnailCard.js +20 -22
- package/dist/cjs/Ustream.js +26 -27
- package/dist/cjs/VerticalHero.js +17 -18
- package/dist/cjs/VideoProgramLandingPage.js +247 -0
- package/dist/cjs/VideoSeriesCard.js +31 -32
- package/dist/cjs/VideoSeriesFilter.js +19 -19
- package/dist/cjs/VideoSeriesLandingPage.js +177 -0
- package/dist/cjs/VideoSeriesListing.js +74 -74
- package/dist/cjs/View.js +227 -229
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +61 -61
- package/dist/cjs/{_is-array-63ae4740.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-2613ffa1.js → _iter-detect-60b2f026.js} +2 -2
- package/dist/cjs/{_object-sap-c5bd707d.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_set-species-a8cfdb84.js → _set-species-f92c67c5.js} +4 -4
- package/dist/cjs/{_to-object-821a2927.js → _to-object-329a650b.js} +4 -4
- package/dist/cjs/{asyncToGenerator-2edcb6ad.js → asyncToGenerator-533d476a.js} +8 -8
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-b4615fd3.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{define-property-aff11f8a.js → define-property-f4d12f4e.js} +1 -1
- package/dist/cjs/{defineProperty-d6fbb280.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{es6.string.iterator-20d42c53.js → es6.string.iterator-cc0bbaa4.js} +2 -2
- package/dist/cjs/{extends-1e24fc8d.js → extends-60837c34.js} +1 -1
- package/dist/cjs/getRelatedArticle.js +76 -138
- package/dist/cjs/getSerializers.js +42 -41
- package/dist/cjs/{getTargeting-497b581d.js → getTargeting-9af0ef69.js} +3 -3
- package/dist/cjs/getTargeting.js +7 -7
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/index-187c967e.js +54 -0
- package/dist/cjs/{index-4d74ffd6.js → index-3294d3bc.js} +41 -40
- package/dist/cjs/{index-5ad2b070.js → index-8bf6c863.js} +48 -30
- package/dist/cjs/{index-bb09dc7c.js → index-9b8a57e5.js} +853 -876
- package/dist/cjs/{index-d48b231c.js → index-be0c82be.js} +25 -31
- package/dist/cjs/{index-80f57cff.js → index-da796b8c.js} +15 -17
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-3b9b8952.js → index.esm-66ffa47a.js} +9 -4
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +133 -127
- package/dist/cjs/{inherits-2eb23889.js → inherits-c9f99d47.js} +5 -5
- package/dist/cjs/{keys-95c064c9.js → keys-a586b7a0.js} +2 -2
- package/dist/cjs/{lodash-4ef21f0f.js → lodash-fc2922d0.js} +23 -72
- package/dist/cjs/{main-dc082238.js → main-02daeefe.js} +80 -116
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- package/dist/cjs/{slicedToArray-db24842a.js → slicedToArray-8f385299.js} +4 -4
- package/dist/cjs/{smoothscroll-1abb448e.js → smoothscroll-5054361f.js} +1 -51
- package/dist/cjs/{stringify-01cf47f7.js → stringify-7c5aff47.js} +1 -1
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-cf0865fc.js → toConsumableArray-9a3476fe.js} +4 -4
- package/dist/cjs/{typeof-97065d40.js → typeof-725500bc.js} +7 -7
- package/dist/cjs/urlFor.js +2 -2
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-8b54af99.js → visibility-sensor-0c45a583.js} +5 -7
- package/dist/cjs/{web.dom.iterable-4480325a.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +21 -21
- package/dist/esm/AD300x250x600.js +21 -21
- package/dist/esm/AD728x90.js +24 -24
- package/dist/esm/ADFloatingFooter.js +23 -23
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +23 -23
- package/dist/esm/{ADInfeed-a9a35a5c.js → ADInfeed-d4c94a16.js} +7 -7
- package/dist/esm/ADSkyscraper.js +23 -23
- package/dist/esm/ADSponsoredResources.js +23 -23
- package/dist/esm/ADWebcast.js +23 -23
- package/dist/esm/ADWelcome.js +27 -27
- package/dist/esm/{ADlgInfeed-ce2e0e3a.js → ADlgInfeed-5b170d9e.js} +6 -6
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +23 -23
- package/dist/esm/AdSlotsProvider.js +4 -4
- package/dist/esm/AlphabeticList.js +21 -21
- package/dist/esm/ArticleCarousel.js +20 -19
- package/dist/esm/ArticleSeriesListing.js +54 -53
- package/dist/esm/Auth.js +317 -799
- package/dist/esm/{AuthorComponent-c29a0075.js → AuthorComponent-00f13201.js} +11 -11
- package/dist/esm/Beam.js +9 -9
- package/dist/esm/{BlockContent-d8cd739c.js → BlockContent-e9b4ddcf.js} +4 -4
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/BrowseVideosListing.js +38 -37
- package/dist/esm/CMEDeck.js +74 -74
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +26 -26
- package/dist/esm/Column3.js +48 -48
- package/dist/esm/ConferenceArticleCard.js +18 -18
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +76 -76
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-db06d7dc.js → Dfp-14e866d7.js} +20 -20
- package/dist/esm/EventsDeck.js +82 -82
- package/dist/esm/ExternalResources.js +72 -69
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +34 -34
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +36 -36
- package/dist/esm/GroupDeck.js +46 -45
- package/dist/esm/HamMagazine.js +104 -104
- 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 +37 -37
- package/dist/esm/LeftNav.js +32 -32
- package/dist/esm/MasterDeck.js +65 -65
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +114 -114
- package/dist/esm/NavNative.js +91 -91
- package/dist/esm/NavNormal.js +36 -36
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +59 -59
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +102 -101
- 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 +50 -50
- package/dist/esm/QueueDeckExpanded.js +272 -272
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- 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 +31 -31
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-fab3e851.js → SocialSearchComponent-8ac29f4f.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +41 -41
- package/dist/esm/TaxonomyDescription.js +46 -45
- package/dist/esm/TemplateNormal.js +66 -66
- package/dist/esm/ThumbnailCard.js +13 -13
- package/dist/esm/Ustream.js +23 -23
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +242 -0
- package/dist/esm/VideoSeriesCard.js +24 -24
- package/dist/esm/VideoSeriesFilter.js +16 -16
- package/dist/esm/VideoSeriesLandingPage.js +172 -0
- package/dist/esm/VideoSeriesListing.js +68 -67
- package/dist/esm/View.js +211 -209
- package/dist/esm/YahooHero.js +34 -34
- package/dist/esm/YoutubeGroup.js +46 -45
- package/dist/esm/{_is-array-9383b394.js → _is-array-49698029.js} +6 -6
- package/dist/esm/{_iter-detect-d4d262ee.js → _iter-detect-59409a32.js} +2 -2
- package/dist/esm/{_object-sap-6a003379.js → _object-sap-4d59d5bd.js} +1 -1
- package/dist/esm/{_set-species-0b056cff.js → _set-species-cede29f8.js} +4 -4
- package/dist/esm/{_to-object-9bef3b62.js → _to-object-ded78eb9.js} +5 -5
- package/dist/esm/{asyncToGenerator-acd1cc47.js → asyncToGenerator-7c654f36.js} +8 -8
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-1b116089.js → core.get-iterator-method-54d2e411.js} +2 -2
- package/dist/esm/{define-property-9a008401.js → define-property-de3fc946.js} +1 -1
- package/dist/esm/{defineProperty-ddd52c29.js → defineProperty-b798470d.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{es6.string.iterator-b24a54f2.js → es6.string.iterator-9b2af4a5.js} +3 -3
- package/dist/esm/{extends-c2b1c9d7.js → extends-cc5da797.js} +1 -1
- package/dist/esm/getRelatedArticle.js +71 -133
- package/dist/esm/getSerializers.js +42 -41
- package/dist/esm/{getTargeting-b1a7be54.js → getTargeting-2acdec91.js} +2 -2
- package/dist/esm/getTargeting.js +7 -7
- package/dist/esm/{index-48a08226.js → index-4d1ed4ba.js} +800 -816
- package/dist/esm/{index-752d1dae.js → index-5f9f807a.js} +10 -10
- package/dist/esm/{index-3f5c03b2.js → index-73819142.js} +25 -31
- package/dist/esm/{index-669ff425.js → index-a9e53f80.js} +43 -24
- package/dist/esm/index-c7e2ac95.js +52 -0
- package/dist/esm/{index-ccb770c7.js → index-ef6d5dcf.js} +41 -40
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-d6f88d94.js → index.esm-b08f4b04.js} +9 -4
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +109 -105
- package/dist/esm/{inherits-18d4a779.js → inherits-7ee3e0c1.js} +5 -5
- package/dist/esm/{keys-9bb7939c.js → keys-fc2d4c34.js} +2 -2
- package/dist/esm/{lodash-ad27652f.js → lodash-17fdfebb.js} +23 -72
- package/dist/esm/{main-1450d277.js → main-e4a934b2.js} +78 -113
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-34468155.js → slicedToArray-7021e5df.js} +4 -4
- package/dist/esm/{smoothscroll-ab6e0238.js → smoothscroll-0cd4c7a6.js} +3 -52
- package/dist/esm/{stringify-8a4f19f7.js → stringify-008c8802.js} +1 -1
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-5212fee7.js → toConsumableArray-725434a0.js} +4 -4
- package/dist/esm/{typeof-64422756.js → typeof-08f2c380.js} +7 -7
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-082c757b.js → visibility-sensor-0baa4eea.js} +2 -2
- package/dist/esm/{web.dom.iterable-ca37144a.js → web.dom.iterable-8956f9a5.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { _ as _typeof } from './typeof-64422756.js';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { L as LazyLoad } from './index-752d1dae.js';
|
|
4
|
-
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
5
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
6
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
|
-
import 'prop-types';
|
|
8
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './web.dom.iterable-ca37144a.js';
|
|
12
|
-
import './_is-array-9383b394.js';
|
|
13
|
-
import './_object-pie-71ac75a4.js';
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
14
4
|
import './_library-528f1934.js';
|
|
5
|
+
import './_object-pie-71ac75a4.js';
|
|
6
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
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-e2f9b20c.js';
|
|
15
12
|
import 'react-dom';
|
|
13
|
+
import { i as imageUrlBuilder } from './index-73819142.js';
|
|
14
|
+
import { L as LazyLoad } from './index-5f9f807a.js';
|
|
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";
|
|
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" };
|
|
@@ -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__default.createElement(
|
|
31
31
|
'div',
|
|
32
32
|
{ className: styles.article },
|
|
33
|
-
|
|
33
|
+
React__default.createElement(
|
|
34
34
|
'a',
|
|
35
35
|
{ href: '/view/' + data.url.current, style: variant === 'right' ? { flexDirection: 'row-reverse' } : {} },
|
|
36
|
-
|
|
36
|
+
React__default.createElement(
|
|
37
37
|
'div',
|
|
38
38
|
{ className: styles.thumb },
|
|
39
|
-
|
|
39
|
+
React__default.createElement(
|
|
40
40
|
'figure',
|
|
41
41
|
null,
|
|
42
|
-
|
|
42
|
+
React__default.createElement(
|
|
43
43
|
LazyLoad,
|
|
44
44
|
null,
|
|
45
|
-
|
|
45
|
+
React__default.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__default.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__default.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__default.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__default.createElement(
|
|
66
66
|
'p',
|
|
67
67
|
{ className: styles.author },
|
|
68
68
|
'By ',
|
|
69
|
-
|
|
69
|
+
React__default.createElement(
|
|
70
70
|
'span',
|
|
71
71
|
null,
|
|
72
72
|
data.authorMapping.displayName
|
|
73
73
|
)
|
|
74
74
|
),
|
|
75
|
-
data.intro &&
|
|
75
|
+
data.intro && React__default.createElement('p', { dangerouslySetInnerHTML: { __html: data.intro }, className: styles.summary })
|
|
76
76
|
)
|
|
77
77
|
)
|
|
78
78
|
);
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-acd1cc47.js';
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-34468155.js';
|
|
3
|
-
import React, { useState, useEffect } from 'react';
|
|
4
|
-
import { withRouter } from 'next/router';
|
|
5
|
-
import { DropdownButton, Dropdown } from 'react-bootstrap';
|
|
6
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './
|
|
8
|
-
import './
|
|
9
|
-
import './web.dom.iterable-ca37144a.js';
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
10
4
|
import './_library-528f1934.js';
|
|
11
|
-
import './
|
|
12
|
-
import './
|
|
13
|
-
import './
|
|
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';
|
|
9
|
+
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
|
+
import { DropdownButton, Dropdown } from 'react-bootstrap';
|
|
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__default.createElement(
|
|
97
|
+
React__default.Fragment,
|
|
98
98
|
null,
|
|
99
|
-
|
|
99
|
+
React__default.createElement(
|
|
100
100
|
DropdownButton,
|
|
101
101
|
{ className: 'filter_dropdown', variant: 'primary', title: filter.name },
|
|
102
|
-
|
|
102
|
+
React__default.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__default.createElement(
|
|
112
112
|
Dropdown.Item,
|
|
113
113
|
{ key: filterItem._id, onClick: function onClick() {
|
|
114
114
|
return setFilter({ name: filterItem.name, id: filterItem._id });
|
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './_iter-detect-59409a32.js';
|
|
6
|
+
import './toConsumableArray-725434a0.js';
|
|
7
|
+
import './core.get-iterator-method-54d2e411.js';
|
|
8
|
+
import './_object-pie-71ac75a4.js';
|
|
9
|
+
import './extends-cc5da797.js';
|
|
10
|
+
import './_object-sap-4d59d5bd.js';
|
|
11
|
+
import './inherits-7ee3e0c1.js';
|
|
12
|
+
import './define-property-de3fc946.js';
|
|
13
|
+
import './web.dom.iterable-8956f9a5.js';
|
|
14
|
+
import { _ as _typeof } from './typeof-08f2c380.js';
|
|
15
|
+
import './_is-array-49698029.js';
|
|
16
|
+
import React__default from 'react';
|
|
17
|
+
import './index-a9e53f80.js';
|
|
18
|
+
import 'prop-types';
|
|
19
|
+
import 'react-bootstrap/Container';
|
|
20
|
+
import 'react-bootstrap/Row';
|
|
21
|
+
import 'react-bootstrap/Col';
|
|
22
|
+
import 'react-bootstrap/Card';
|
|
23
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
24
|
+
import 'next/router';
|
|
25
|
+
import './isSymbol-807e927e.js';
|
|
26
|
+
import './debounce-1a993acf.js';
|
|
27
|
+
import './index.es-29c1cef5.js';
|
|
28
|
+
import 'react-dom';
|
|
29
|
+
import './visibility-sensor-0baa4eea.js';
|
|
30
|
+
import './index-73819142.js';
|
|
31
|
+
import './index-5f9f807a.js';
|
|
32
|
+
import './main-e4a934b2.js';
|
|
33
|
+
import './stringify-008c8802.js';
|
|
34
|
+
import './slicedToArray-7021e5df.js';
|
|
35
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7c654f36.js';
|
|
36
|
+
import './_set-species-cede29f8.js';
|
|
37
|
+
import './Segment.js';
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import './AdSlot.js';
|
|
40
|
+
import './ADInfeed-d4c94a16.js';
|
|
41
|
+
import './lodash-17fdfebb.js';
|
|
42
|
+
import './ADlgInfeed-5b170d9e.js';
|
|
43
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
44
|
+
import MasterDeck from './MasterDeck.js';
|
|
45
|
+
import 'react-bootstrap/Breadcrumb';
|
|
46
|
+
import Breadcrumbs from './Breadcrumbs.js';
|
|
47
|
+
import './style-inject.es-1f59c1d0.js';
|
|
48
|
+
import VideoSeriesCard from './VideoSeriesCard.js';
|
|
49
|
+
|
|
50
|
+
var _this = undefined;
|
|
51
|
+
|
|
52
|
+
var VideoSeriesLandingPage = function VideoSeriesLandingPage(props) {
|
|
53
|
+
var summary = props.summary,
|
|
54
|
+
client = props.client,
|
|
55
|
+
posts = props.posts,
|
|
56
|
+
_props$variant = props.variant,
|
|
57
|
+
variant = _props$variant === undefined ? 'left' : _props$variant,
|
|
58
|
+
_props$defaultImage = props.defaultImage,
|
|
59
|
+
defaultImage = _props$defaultImage === undefined ? '/placeholder.jpg' : _props$defaultImage,
|
|
60
|
+
mapping = props.mapping,
|
|
61
|
+
query = props.query,
|
|
62
|
+
params = props.params,
|
|
63
|
+
_props$currentPage = props.currentPage,
|
|
64
|
+
currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
|
|
65
|
+
pageview = props.pageview,
|
|
66
|
+
_props$autoScroll = props.autoScroll,
|
|
67
|
+
autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll,
|
|
68
|
+
rightItems = props.rightItems,
|
|
69
|
+
brandInsightAd = props.brandInsightAd,
|
|
70
|
+
_props$showBI = props.showBI,
|
|
71
|
+
showBI = _props$showBI === undefined ? false : _props$showBI,
|
|
72
|
+
_props$lgInfeedAd = props.lgInfeedAd,
|
|
73
|
+
lgInfeedAd = _props$lgInfeedAd === undefined ? false : _props$lgInfeedAd;
|
|
74
|
+
|
|
75
|
+
return React__default.createElement(
|
|
76
|
+
'div',
|
|
77
|
+
null,
|
|
78
|
+
summary && React__default.createElement(
|
|
79
|
+
'div',
|
|
80
|
+
{ style: { fontSize: '1rem' }, className: 'series-summary px-1 my-4' },
|
|
81
|
+
summary
|
|
82
|
+
),
|
|
83
|
+
React__default.createElement(Breadcrumbs, null),
|
|
84
|
+
posts && React__default.createElement(MasterDeck, {
|
|
85
|
+
deck: VideoSeriesCard,
|
|
86
|
+
variant: variant,
|
|
87
|
+
client: client,
|
|
88
|
+
defaultImage: defaultImage,
|
|
89
|
+
mapping: mapping,
|
|
90
|
+
dataRecord: posts,
|
|
91
|
+
query: query,
|
|
92
|
+
params: params,
|
|
93
|
+
currentPage: currentPage,
|
|
94
|
+
pageview: pageview,
|
|
95
|
+
autoScroll: autoScroll,
|
|
96
|
+
rightItems: rightItems,
|
|
97
|
+
brandInsightAd: brandInsightAd,
|
|
98
|
+
showBI: showBI,
|
|
99
|
+
lgInfeedAd: lgInfeedAd
|
|
100
|
+
})
|
|
101
|
+
);
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
VideoSeriesLandingPage.getInitialData = function () {
|
|
105
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(context, client) {
|
|
106
|
+
var itemsPerPage = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;
|
|
107
|
+
var today, urlQuery, seriesName, currentPage, start, params, query, posts, seriesTitle, summary, url;
|
|
108
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
109
|
+
while (1) {
|
|
110
|
+
switch (_context.prev = _context.next) {
|
|
111
|
+
case 0:
|
|
112
|
+
today = moment().utc().format();
|
|
113
|
+
urlQuery = context.query;
|
|
114
|
+
seriesName = urlQuery.series;
|
|
115
|
+
currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
|
|
116
|
+
start = (currentPage - 1) * itemsPerPage;
|
|
117
|
+
params = {
|
|
118
|
+
from: start,
|
|
119
|
+
to: start + itemsPerPage,
|
|
120
|
+
itemsPerPage: itemsPerPage
|
|
121
|
+
};
|
|
122
|
+
query = '*[\n _type == \'article\' \n && !(_id in path("drafts.**")) \n && defined(title) \n && defined(url) \n && dateTime(published) <= dateTime(now()) \n && references(\'02c6c999-e6fe-4275-98ca-ceef28f91e14\') \n && is_visible == true \n && url.current == \'' + seriesName + '\'\n ][$from...$to] | order(published desc) {\n\t\ttitle,\n\t\tsummary,\n\t\tpublished,\n\t\tthumbnail,\n\t\turl,\n\t\ttaxonomy,\n\t\tbody[_type == "youtubeGallery"]\n\t}';
|
|
123
|
+
_context.next = 9;
|
|
124
|
+
return client.fetch(query, params);
|
|
125
|
+
|
|
126
|
+
case 9:
|
|
127
|
+
posts = _context.sent;
|
|
128
|
+
seriesTitle = '';
|
|
129
|
+
summary = '';
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
if (posts.length > 0 && posts[0].body.length > 0 && posts[0].body[0].videos) {
|
|
133
|
+
url = posts[0].url.current + '?seriesVid=';
|
|
134
|
+
|
|
135
|
+
seriesTitle = posts[0].title;
|
|
136
|
+
summary = posts[0].summary;
|
|
137
|
+
posts = posts[0].body[0].videos.filter(function (video) {
|
|
138
|
+
if ((video.is_visible === true || !video.hasOwnProperty('is_visible')) && (today >= video.published || !video.hasOwnProperty('published'))) {
|
|
139
|
+
return video;
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
//start youtube thumbnail fix
|
|
143
|
+
posts.map(function (post, index) {
|
|
144
|
+
if (post.thumbnail && _typeof(post.thumbnail) !== 'object' || !post.thumbnail) {
|
|
145
|
+
var id = getYoutubeId(post.url);
|
|
146
|
+
var imageURL = 'https://img.youtube.com/vi/' + id + '/hqdefault.jpg';
|
|
147
|
+
return post['thumbnail'] = imageURL, post['url'] = {
|
|
148
|
+
current: url + (index + 1)
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
return post['url'] = {
|
|
152
|
+
current: url + (index + 1)
|
|
153
|
+
};
|
|
154
|
+
});
|
|
155
|
+
//end
|
|
156
|
+
}
|
|
157
|
+
return _context.abrupt('return', { posts: posts, query: query, params: params, seriesTitle: seriesTitle, summary: summary, seriesName: seriesName });
|
|
158
|
+
|
|
159
|
+
case 14:
|
|
160
|
+
case 'end':
|
|
161
|
+
return _context.stop();
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}, _callee, _this);
|
|
165
|
+
}));
|
|
166
|
+
|
|
167
|
+
return function (_x, _x2) {
|
|
168
|
+
return _ref.apply(this, arguments);
|
|
169
|
+
};
|
|
170
|
+
}();
|
|
171
|
+
|
|
172
|
+
export default VideoSeriesLandingPage;
|
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-c2b1c9d7.js';
|
|
2
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-18d4a779.js';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { l as lib_3 } from './index-669ff425.js';
|
|
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-3fdda599.js';
|
|
8
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
9
|
-
import { withRouter } from 'next/router';
|
|
10
|
-
import YoutubeGroup from './YoutubeGroup.js';
|
|
11
|
-
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
12
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
13
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
-
import './_to-object-
|
|
15
|
-
import './
|
|
16
|
-
import './es6.string.iterator-b24a54f2.js';
|
|
17
|
-
import './_object-sap-6a003379.js';
|
|
18
|
-
import './define-property-9a008401.js';
|
|
19
|
-
import './typeof-64422756.js';
|
|
20
|
-
import './web.dom.iterable-ca37144a.js';
|
|
21
|
-
import './_is-array-9383b394.js';
|
|
2
|
+
import './_to-object-ded78eb9.js';
|
|
3
|
+
import './es6.string.iterator-9b2af4a5.js';
|
|
22
4
|
import './_library-528f1934.js';
|
|
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-a9e53f80.js';
|
|
23
16
|
import 'prop-types';
|
|
17
|
+
import Container from 'react-bootstrap/Container';
|
|
18
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
19
|
+
import { withRouter } from 'next/router';
|
|
20
|
+
import './isSymbol-807e927e.js';
|
|
21
|
+
import { d as debounce_1 } from './debounce-1a993acf.js';
|
|
22
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
24
23
|
import 'react-dom';
|
|
24
|
+
import { V as VisibilitySensor } from './visibility-sensor-0baa4eea.js';
|
|
25
|
+
import './index-73819142.js';
|
|
26
|
+
import './index-5f9f807a.js';
|
|
27
|
+
import './main-e4a934b2.js';
|
|
28
|
+
import './slicedToArray-7021e5df.js';
|
|
29
|
+
import './index-c7e2ac95.js';
|
|
30
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
31
|
+
import YoutubeGroup from './YoutubeGroup.js';
|
|
25
32
|
import './iconBase-602d52fe.js';
|
|
26
|
-
import './
|
|
27
|
-
import './core.get-iterator-method-1b116089.js';
|
|
28
|
-
import './smoothscroll-ab6e0238.js';
|
|
29
|
-
import './index-752d1dae.js';
|
|
30
|
-
import './index-3f5c03b2.js';
|
|
31
|
-
import './main-1450d277.js';
|
|
32
|
-
import './isSymbol-807e927e.js';
|
|
33
|
+
import { I as IoIosArrowForward } from './index.esm-29e48d38.js';
|
|
33
34
|
|
|
34
35
|
var VideoSeriesListing = function (_React$Component) {
|
|
35
36
|
_inherits(VideoSeriesListing, _React$Component);
|
|
@@ -94,9 +95,9 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
94
95
|
}, 0), _this.loadData = function () {
|
|
95
96
|
var _this$state = _this.state,
|
|
96
97
|
from = _this$state.from,
|
|
97
|
-
to = _this$state.to
|
|
98
|
-
_this$state.data
|
|
99
|
-
|
|
98
|
+
to = _this$state.to,
|
|
99
|
+
data = _this$state.data,
|
|
100
|
+
query = _this$state.query,
|
|
100
101
|
page = _this$state.page;
|
|
101
102
|
var client = _this.props.client;
|
|
102
103
|
//this.changePageNumber(page)
|
|
@@ -192,15 +193,15 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
192
193
|
}, _this.renderManualPagination = function () {
|
|
193
194
|
var currentPage = _this.state.currentPage;
|
|
194
195
|
|
|
195
|
-
return
|
|
196
|
+
return React__default.createElement(
|
|
196
197
|
'div',
|
|
197
198
|
{ className: 'd-flex justify-content-between' },
|
|
198
|
-
currentPage && currentPage > 1 &&
|
|
199
|
+
currentPage && currentPage > 1 && React__default.createElement(
|
|
199
200
|
'a',
|
|
200
201
|
{ href: '?page=' + (currentPage - 1) },
|
|
201
202
|
'<< Previous'
|
|
202
203
|
),
|
|
203
|
-
|
|
204
|
+
React__default.createElement(
|
|
204
205
|
'a',
|
|
205
206
|
{ href: '?page=' + (currentPage + 1) },
|
|
206
207
|
'Next >>'
|
|
@@ -209,7 +210,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
209
210
|
}, _this.renderSeries = function (seriesData) {
|
|
210
211
|
var itemCounter = 0;
|
|
211
212
|
|
|
212
|
-
return
|
|
213
|
+
return React__default.createElement(
|
|
213
214
|
'div',
|
|
214
215
|
null,
|
|
215
216
|
seriesData && seriesData.map(function (docSeries, index) {
|
|
@@ -219,24 +220,24 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
219
220
|
});
|
|
220
221
|
}
|
|
221
222
|
|
|
222
|
-
return
|
|
223
|
+
return React__default.createElement(
|
|
223
224
|
'div',
|
|
224
225
|
{ key: index, counter: itemCounter++ },
|
|
225
|
-
|
|
226
|
+
React__default.createElement(
|
|
226
227
|
'h4',
|
|
227
228
|
{ className: 'video-title-banner', style: { fontWeight: 'bold', color: 'var(--primary)', padding: '.25rem 0', borderBottom: '2px solid #d4a64d' } },
|
|
228
|
-
|
|
229
|
+
React__default.createElement(
|
|
229
230
|
'a',
|
|
230
231
|
{ href: '/' + _this.props.page + '/' + docSeries.url.current },
|
|
231
232
|
docSeries.title,
|
|
232
|
-
|
|
233
|
+
React__default.createElement(
|
|
233
234
|
'span',
|
|
234
235
|
{ style: { fontSize: '.9rem', color: 'grey', marginLeft: '1rem', transform: 'translateY(-2px)' } },
|
|
235
|
-
|
|
236
|
+
React__default.createElement(IoIosArrowForward, null)
|
|
236
237
|
)
|
|
237
238
|
)
|
|
238
239
|
),
|
|
239
|
-
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos ?
|
|
240
|
+
docSeries.body && docSeries.body.length > 0 && docSeries.body[0].videos ? React__default.createElement(YoutubeGroup, _extends({ displayEpisodeNumber: true, key: index, dataset: docSeries.body[0].videos }, _this.props)) : React__default.createElement(
|
|
240
241
|
'p',
|
|
241
242
|
null,
|
|
242
243
|
'No Video Found.'
|
|
@@ -262,32 +263,32 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
262
263
|
|
|
263
264
|
|
|
264
265
|
if (autoScroll) {
|
|
265
|
-
return
|
|
266
|
-
|
|
266
|
+
return React__default.createElement(
|
|
267
|
+
React__default.Fragment,
|
|
267
268
|
null,
|
|
268
269
|
this.state.data.length >= 1 && this.state.data[0].length > 0 ?
|
|
269
270
|
//Check if any Video Groups available
|
|
270
|
-
|
|
271
|
+
React__default.createElement(
|
|
271
272
|
InfiniteScroll,
|
|
272
273
|
{ dataLength: this.state.data.length, next: this.loadMore, hasMore: this.state.scrolling, scrollThreshold: 0.8 },
|
|
273
|
-
|
|
274
|
+
React__default.createElement(
|
|
274
275
|
Container,
|
|
275
276
|
null,
|
|
276
277
|
this.state.data && this.state.data.map(function (series, index) {
|
|
277
278
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
278
279
|
|
|
279
|
-
return
|
|
280
|
-
|
|
280
|
+
return React__default.createElement(
|
|
281
|
+
React__default.Fragment,
|
|
281
282
|
{ key: index },
|
|
282
|
-
|
|
283
|
+
React__default.createElement(
|
|
283
284
|
VisibilitySensor,
|
|
284
285
|
{
|
|
285
286
|
onChange: function onChange(isVisible) {
|
|
286
287
|
isVisible && _this2.changePageNumber(page);
|
|
287
288
|
} },
|
|
288
|
-
|
|
289
|
+
React__default.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
289
290
|
),
|
|
290
|
-
|
|
291
|
+
React__default.createElement(
|
|
291
292
|
'div',
|
|
292
293
|
null,
|
|
293
294
|
_this2.renderSeries(series)
|
|
@@ -295,13 +296,13 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
295
296
|
);
|
|
296
297
|
})
|
|
297
298
|
)
|
|
298
|
-
) :
|
|
299
|
+
) : React__default.createElement(
|
|
299
300
|
'div',
|
|
300
301
|
{ style: { marginTop: '10px' } },
|
|
301
|
-
|
|
302
|
+
React__default.createElement(
|
|
302
303
|
'h5',
|
|
303
304
|
null,
|
|
304
|
-
|
|
305
|
+
React__default.createElement(
|
|
305
306
|
'em',
|
|
306
307
|
null,
|
|
307
308
|
'New content coming soon, please check back later.'
|
|
@@ -311,34 +312,34 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
311
312
|
);
|
|
312
313
|
}
|
|
313
314
|
if (!autoScroll) {
|
|
314
|
-
return
|
|
315
|
-
|
|
315
|
+
return React__default.createElement(
|
|
316
|
+
React__default.Fragment,
|
|
316
317
|
null,
|
|
317
318
|
this.state.data.length >= 1 && this.state.data[0].length > 0 ?
|
|
318
319
|
//Check if any Video Groups available
|
|
319
|
-
|
|
320
|
+
React__default.createElement(
|
|
320
321
|
Container,
|
|
321
322
|
null,
|
|
322
323
|
this.state.data && this.state.data.map(function (series, index) {
|
|
323
324
|
var page = series && series.length > 0 && series[0].pageNumber !== 1 ? series[0].pageNumber : 1;
|
|
324
325
|
|
|
325
|
-
return
|
|
326
|
-
|
|
326
|
+
return React__default.createElement(
|
|
327
|
+
React__default.Fragment,
|
|
327
328
|
{ key: index },
|
|
328
|
-
|
|
329
|
+
React__default.createElement(
|
|
329
330
|
VisibilitySensor,
|
|
330
331
|
{
|
|
331
332
|
onChange: function onChange(isVisible) {
|
|
332
333
|
isVisible && _this2.changePageNumber(page);
|
|
333
334
|
} },
|
|
334
|
-
|
|
335
|
+
React__default.createElement('div', { className: 'visibility-sensor', style: { minHeight: '.25rem' } })
|
|
335
336
|
),
|
|
336
|
-
|
|
337
|
+
React__default.createElement(
|
|
337
338
|
'div',
|
|
338
339
|
null,
|
|
339
340
|
_this2.renderSeries(series)
|
|
340
341
|
),
|
|
341
|
-
_this2.state.scrolling ?
|
|
342
|
+
_this2.state.scrolling ? React__default.createElement(
|
|
342
343
|
'button',
|
|
343
344
|
{
|
|
344
345
|
className: 'btn',
|
|
@@ -357,10 +358,10 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
357
358
|
_this2.loadMore();
|
|
358
359
|
} },
|
|
359
360
|
'Load More'
|
|
360
|
-
) :
|
|
361
|
+
) : React__default.createElement(
|
|
361
362
|
'p',
|
|
362
363
|
{ style: { textAlign: 'center' } },
|
|
363
|
-
|
|
364
|
+
React__default.createElement(
|
|
364
365
|
'b',
|
|
365
366
|
null,
|
|
366
367
|
'End of data'
|
|
@@ -368,13 +369,13 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
368
369
|
)
|
|
369
370
|
);
|
|
370
371
|
})
|
|
371
|
-
) :
|
|
372
|
+
) : React__default.createElement(
|
|
372
373
|
'div',
|
|
373
374
|
{ style: { marginTop: '10px' } },
|
|
374
|
-
|
|
375
|
+
React__default.createElement(
|
|
375
376
|
'h5',
|
|
376
377
|
null,
|
|
377
|
-
|
|
378
|
+
React__default.createElement(
|
|
378
379
|
'em',
|
|
379
380
|
null,
|
|
380
381
|
'New content coming soon, please check back later.'
|
|
@@ -387,7 +388,7 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
387
388
|
}]);
|
|
388
389
|
|
|
389
390
|
return VideoSeriesListing;
|
|
390
|
-
}(
|
|
391
|
+
}(React__default.Component);
|
|
391
392
|
|
|
392
393
|
var VideoSeriesListing$1 = withRouter(VideoSeriesListing);
|
|
393
394
|
|