@mjhls/mjh-framework 1.0.714 → 1.0.716
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/ArticleCarousel.js +2 -1
- package/dist/cjs/ArticleSeriesListing.js +2 -1
- package/dist/cjs/BrowseVideosListing.js +2 -1
- package/dist/cjs/EventsDeck.js +3 -21
- package/dist/cjs/ExternalResources.js +4 -2
- package/dist/cjs/GroupDeck.js +13 -12
- package/dist/cjs/PartnerDetailListing.js +4 -2
- package/dist/cjs/TaxonomyDescription.js +4 -2
- package/dist/cjs/VideoProgramLandingPage.js +252 -0
- package/dist/cjs/VideoSeriesLandingPage.js +178 -0
- package/dist/cjs/VideoSeriesListing.js +2 -1
- package/dist/cjs/View.js +4 -2
- package/dist/cjs/YoutubeGroup.js +17 -16
- package/dist/cjs/_object-to-array-bec5fcf2.js +25 -0
- package/dist/cjs/getSerializers.js +4 -2
- package/dist/cjs/index-187c967e.js +54 -0
- package/dist/cjs/{index-bb09dc7c.js → index-7d880c49.js} +358 -39
- package/dist/cjs/index.js +9 -2
- package/dist/cjs/{smoothscroll-1abb448e.js → smoothscroll-99df7f93.js} +0 -50
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +11 -11
- package/dist/esm/AD300x250x600.js +11 -11
- package/dist/esm/AD728x90.js +11 -11
- package/dist/esm/ADFloatingFooter.js +11 -11
- package/dist/esm/ADFooter.js +5 -5
- package/dist/esm/ADGutter.js +11 -11
- package/dist/esm/{ADInfeed-a9a35a5c.js → ADInfeed-3ee501b9.js} +2 -2
- package/dist/esm/ADSkyscraper.js +11 -11
- package/dist/esm/ADSponsoredResources.js +11 -11
- package/dist/esm/ADWebcast.js +11 -11
- package/dist/esm/ADWelcome.js +11 -11
- package/dist/esm/{ADlgInfeed-ce2e0e3a.js → ADlgInfeed-0bf06b17.js} +2 -2
- package/dist/esm/AccordionPanel.js +5 -5
- package/dist/esm/AdSlot.js +11 -11
- package/dist/esm/AdSlotsProvider.js +8 -8
- package/dist/esm/AlphabeticList.js +9 -9
- package/dist/esm/ArticleCarousel.js +11 -10
- package/dist/esm/ArticleSeriesListing.js +14 -13
- package/dist/esm/Auth.js +11 -11
- package/dist/esm/{AuthorComponent-c29a0075.js → AuthorComponent-c7ff069f.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/BrowseVideosListing.js +11 -10
- package/dist/esm/CMEDeck.js +10 -10
- package/dist/esm/Column2.js +9 -9
- package/dist/esm/Column3.js +13 -13
- package/dist/esm/DeckContent.js +18 -18
- package/dist/esm/DeckQueue.js +13 -13
- package/dist/esm/{Dfp-db06d7dc.js → Dfp-5d779279.js} +5 -5
- package/dist/esm/EventsDeck.js +13 -31
- package/dist/esm/ExternalResources.js +21 -19
- package/dist/esm/ForbesHero.js +6 -6
- package/dist/esm/GridContent.js +20 -20
- package/dist/esm/GridHero.js +6 -6
- package/dist/esm/GroupDeck.js +10 -9
- package/dist/esm/HamMagazine.js +9 -9
- package/dist/esm/IssueContentDeck.js +6 -6
- package/dist/esm/IssueDeck.js +9 -9
- package/dist/esm/IssueLanding.js +15 -15
- package/dist/esm/LeftNav.js +11 -11
- package/dist/esm/MasterDeck.js +19 -19
- package/dist/esm/NavDvm.js +8 -8
- package/dist/esm/NavMagazine.js +9 -9
- package/dist/esm/NavNative.js +8 -8
- package/dist/esm/NavNormal.js +8 -8
- package/dist/esm/OncliveLargeHero.js +6 -6
- package/dist/esm/PageFilter.js +5 -5
- package/dist/esm/PartnerDetailListing.js +24 -22
- package/dist/esm/PopUpModal.js +5 -5
- package/dist/esm/PublicationLanding.js +9 -9
- package/dist/esm/QueueDeckExpanded.js +15 -15
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SideFooter.js +9 -9
- package/dist/esm/{SocialSearchComponent-fab3e851.js → SocialSearchComponent-c3216d1a.js} +1 -1
- package/dist/esm/TaxonomyCard.js +3 -3
- package/dist/esm/TaxonomyDescription.js +21 -19
- package/dist/esm/TemplateNormal.js +14 -14
- package/dist/esm/Ustream.js +5 -5
- package/dist/esm/VideoProgramLandingPage.js +243 -0
- package/dist/esm/VideoSeriesCard.js +6 -6
- package/dist/esm/VideoSeriesFilter.js +8 -8
- package/dist/esm/VideoSeriesLandingPage.js +172 -0
- package/dist/esm/VideoSeriesListing.js +14 -13
- package/dist/esm/View.js +23 -21
- package/dist/esm/YahooHero.js +6 -6
- package/dist/esm/YoutubeGroup.js +10 -9
- package/dist/esm/{_is-array-9383b394.js → _is-array-674f71ec.js} +1 -1
- package/dist/esm/{_iter-detect-d4d262ee.js → _iter-detect-48516cd3.js} +2 -2
- package/dist/esm/{_object-pie-71ac75a4.js → _object-pie-33c40e79.js} +1 -1
- package/dist/esm/{_object-sap-6a003379.js → _object-sap-fd3054d0.js} +1 -1
- package/dist/esm/_object-to-array-8f409e54.js +23 -0
- package/dist/esm/{_set-species-0b056cff.js → _set-species-494ed292.js} +4 -4
- package/dist/esm/{_to-object-9bef3b62.js → _to-object-97770c52.js} +1 -1
- package/dist/esm/{asyncToGenerator-acd1cc47.js → asyncToGenerator-2bd4099a.js} +6 -6
- package/dist/esm/{core.get-iterator-method-1b116089.js → core.get-iterator-method-d1d5ed02.js} +2 -2
- package/dist/esm/{define-property-9a008401.js → define-property-ec6d528d.js} +1 -1
- package/dist/esm/{defineProperty-ddd52c29.js → defineProperty-ea516b15.js} +1 -1
- package/dist/esm/{es6.string.iterator-b24a54f2.js → es6.string.iterator-aa6068a3.js} +1 -1
- package/dist/esm/{extends-c2b1c9d7.js → extends-31d65aba.js} +2 -2
- package/dist/esm/getRelatedArticle.js +7 -7
- package/dist/esm/getSerializers.js +21 -19
- package/dist/esm/{getTargeting-b1a7be54.js → getTargeting-2d402d66.js} +2 -2
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-48a08226.js → index-998e7b12.js} +353 -34
- package/dist/esm/index-c7e2ac95.js +52 -0
- package/dist/esm/index.js +31 -26
- package/dist/esm/{inherits-18d4a779.js → inherits-5906fbea.js} +5 -5
- package/dist/esm/{keys-9bb7939c.js → keys-a0b0c7a4.js} +2 -2
- package/dist/esm/{slicedToArray-34468155.js → slicedToArray-cdeaee08.js} +4 -4
- package/dist/esm/{smoothscroll-ab6e0238.js → smoothscroll-fa4e3f8c.js} +2 -51
- package/dist/esm/{stringify-8a4f19f7.js → stringify-d4839bab.js} +1 -1
- package/dist/esm/{toConsumableArray-5212fee7.js → toConsumableArray-fa2dcda7.js} +4 -4
- package/dist/esm/{typeof-64422756.js → typeof-e9cea9e8.js} +5 -5
- package/dist/esm/{web.dom.iterable-ca37144a.js → web.dom.iterable-035980f3.js} +2 -2
- package/package.json +1 -1
package/dist/esm/Segment.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
|
|
2
2
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
3
|
-
import './es6.string.iterator-
|
|
4
|
-
import './_to-object-
|
|
5
|
-
import './web.dom.iterable-
|
|
3
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
4
|
+
import './_to-object-97770c52.js';
|
|
5
|
+
import './web.dom.iterable-035980f3.js';
|
|
6
6
|
import './_library-528f1934.js';
|
|
7
|
-
import './core.get-iterator-method-
|
|
8
|
-
import './_set-species-
|
|
9
|
-
import './_iter-detect-
|
|
7
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
8
|
+
import './_set-species-494ed292.js';
|
|
9
|
+
import './_iter-detect-48516cd3.js';
|
|
10
10
|
|
|
11
11
|
require("babel-polyfill");
|
|
12
12
|
|
package/dist/esm/SideFooter.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { _ as _defineProperty } from './defineProperty-
|
|
1
|
+
import { _ as _defineProperty } from './defineProperty-ea516b15.js';
|
|
2
2
|
import React, { useRef, useEffect } from 'react';
|
|
3
3
|
import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
|
|
4
4
|
import { g as get_1 } from './get-5ee14cda.js';
|
|
5
5
|
import Segment from './Segment.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './define-property-
|
|
8
|
-
import './_to-object-
|
|
7
|
+
import './define-property-ec6d528d.js';
|
|
8
|
+
import './_to-object-97770c52.js';
|
|
9
9
|
import 'prop-types';
|
|
10
10
|
import './isSymbol-807e927e.js';
|
|
11
|
-
import './asyncToGenerator-
|
|
12
|
-
import './es6.string.iterator-
|
|
13
|
-
import './web.dom.iterable-
|
|
11
|
+
import './asyncToGenerator-2bd4099a.js';
|
|
12
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
13
|
+
import './web.dom.iterable-035980f3.js';
|
|
14
14
|
import './_library-528f1934.js';
|
|
15
|
-
import './core.get-iterator-method-
|
|
16
|
-
import './_set-species-
|
|
17
|
-
import './_iter-detect-
|
|
15
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
16
|
+
import './_set-species-494ed292.js';
|
|
17
|
+
import './_iter-detect-48516cd3.js';
|
|
18
18
|
|
|
19
19
|
var year = new Date().getFullYear();
|
|
20
20
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
2
2
|
import React, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import SocialIcons from './SocialIcons.js';
|
|
4
4
|
import { G as GoSearch } from './index.esm-8016b507.js';
|
package/dist/esm/TaxonomyCard.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
1
|
+
import { _ as _extends } from './extends-31d65aba.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
@@ -9,8 +9,8 @@ import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
|
9
9
|
import { L as LazyLoad } from './index-752d1dae.js';
|
|
10
10
|
import { r as reactSocialIcons_1 } from './react-social-icons-91f9716f.js';
|
|
11
11
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
12
|
-
import './_to-object-
|
|
13
|
-
import './_object-pie-
|
|
12
|
+
import './_to-object-97770c52.js';
|
|
13
|
+
import './_object-pie-33c40e79.js';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
|
|
@@ -1,38 +1,40 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-31d65aba.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { useRouter } from 'next/router';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
7
|
-
import { g as getSerializers } from './index-
|
|
7
|
+
import { g as getSerializers } from './index-998e7b12.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
|
-
import './es6.string.iterator-
|
|
10
|
-
import './_to-object-
|
|
11
|
-
import './web.dom.iterable-
|
|
9
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
10
|
+
import './_to-object-97770c52.js';
|
|
11
|
+
import './web.dom.iterable-035980f3.js';
|
|
12
12
|
import './_library-528f1934.js';
|
|
13
|
-
import './core.get-iterator-method-
|
|
14
|
-
import './_set-species-
|
|
15
|
-
import './_iter-detect-
|
|
16
|
-
import './_object-pie-
|
|
13
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
14
|
+
import './_set-species-494ed292.js';
|
|
15
|
+
import './_iter-detect-48516cd3.js';
|
|
16
|
+
import './_object-pie-33c40e79.js';
|
|
17
17
|
import 'prop-types';
|
|
18
18
|
import './index-3f5c03b2.js';
|
|
19
|
-
import './slicedToArray-
|
|
19
|
+
import './slicedToArray-cdeaee08.js';
|
|
20
20
|
import 'react-bootstrap';
|
|
21
21
|
import './index-669ff425.js';
|
|
22
|
-
import './
|
|
22
|
+
import './index-c7e2ac95.js';
|
|
23
23
|
import './util-3ab476bf.js';
|
|
24
24
|
import './Beam.js';
|
|
25
|
-
import './stringify-
|
|
25
|
+
import './stringify-d4839bab.js';
|
|
26
26
|
import './Segment.js';
|
|
27
27
|
import './main-1450d277.js';
|
|
28
28
|
import './index-752d1dae.js';
|
|
29
29
|
import 'react-dom';
|
|
30
|
-
import './typeof-
|
|
31
|
-
import './_is-array-
|
|
30
|
+
import './typeof-e9cea9e8.js';
|
|
31
|
+
import './_is-array-674f71ec.js';
|
|
32
32
|
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
33
33
|
import './GroupDeck.js';
|
|
34
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
34
35
|
import './moment-bc12cb97.js';
|
|
35
|
-
import './
|
|
36
|
+
import './_object-to-array-8f409e54.js';
|
|
37
|
+
import './toConsumableArray-fa2dcda7.js';
|
|
36
38
|
import 'react-bootstrap/Pagination';
|
|
37
39
|
import 'react-bootstrap/Button';
|
|
38
40
|
import './entities-932b50cf.js';
|
|
@@ -41,9 +43,9 @@ import './debounce-1a993acf.js';
|
|
|
41
43
|
import './isSymbol-807e927e.js';
|
|
42
44
|
import 'react-bootstrap/Row';
|
|
43
45
|
import 'react-bootstrap/Col';
|
|
44
|
-
import './inherits-
|
|
45
|
-
import './_object-sap-
|
|
46
|
-
import './define-property-
|
|
46
|
+
import './inherits-5906fbea.js';
|
|
47
|
+
import './_object-sap-fd3054d0.js';
|
|
48
|
+
import './define-property-ec6d528d.js';
|
|
47
49
|
import './index.esm-3fdda599.js';
|
|
48
50
|
import './iconBase-602d52fe.js';
|
|
49
51
|
import 'react-bootstrap/Figure';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
2
2
|
import React, { useState, useEffect } from 'react';
|
|
3
3
|
import { useRouter } from 'next/router';
|
|
4
4
|
import Container from 'react-bootstrap/Container';
|
|
@@ -14,31 +14,31 @@ import { NavNormal } from './NavNormal.js';
|
|
|
14
14
|
import { NavDvm } from './NavDvm.js';
|
|
15
15
|
import { HamMagazine } from './HamMagazine.js';
|
|
16
16
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
17
|
-
import './web.dom.iterable-
|
|
18
|
-
import './es6.string.iterator-
|
|
19
|
-
import './_to-object-
|
|
20
|
-
import './core.get-iterator-method-
|
|
21
|
-
import './stringify-
|
|
17
|
+
import './web.dom.iterable-035980f3.js';
|
|
18
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
19
|
+
import './_to-object-97770c52.js';
|
|
20
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
21
|
+
import './stringify-d4839bab.js';
|
|
22
22
|
import './AdSlot.js';
|
|
23
|
-
import './extends-
|
|
24
|
-
import './_object-pie-
|
|
23
|
+
import './extends-31d65aba.js';
|
|
24
|
+
import './_object-pie-33c40e79.js';
|
|
25
25
|
import 'prop-types';
|
|
26
26
|
import './index-669ff425.js';
|
|
27
27
|
import './debounce-1a993acf.js';
|
|
28
28
|
import './isSymbol-807e927e.js';
|
|
29
29
|
import './Beam.js';
|
|
30
|
-
import './asyncToGenerator-
|
|
30
|
+
import './asyncToGenerator-2bd4099a.js';
|
|
31
31
|
import './_library-528f1934.js';
|
|
32
|
-
import './_set-species-
|
|
33
|
-
import './_iter-detect-
|
|
32
|
+
import './_set-species-494ed292.js';
|
|
33
|
+
import './_iter-detect-48516cd3.js';
|
|
34
34
|
import './Segment.js';
|
|
35
35
|
import './main-1450d277.js';
|
|
36
36
|
import 'next/head';
|
|
37
37
|
import 'react-bootstrap/Row';
|
|
38
38
|
import 'react-bootstrap/Col';
|
|
39
39
|
import './SideFooter.js';
|
|
40
|
-
import './defineProperty-
|
|
41
|
-
import './define-property-
|
|
40
|
+
import './defineProperty-ea516b15.js';
|
|
41
|
+
import './define-property-ec6d528d.js';
|
|
42
42
|
import './react-social-icons-91f9716f.js';
|
|
43
43
|
import './get-5ee14cda.js';
|
|
44
44
|
import './ConferenceBanner-9162d0ca.js';
|
|
@@ -56,7 +56,7 @@ import './iconBase-602d52fe.js';
|
|
|
56
56
|
import './index.esm-3fdda599.js';
|
|
57
57
|
import './NavFooter-c29526b7.js';
|
|
58
58
|
import './index.esm-8016b507.js';
|
|
59
|
-
import './SocialSearchComponent-
|
|
59
|
+
import './SocialSearchComponent-c3216d1a.js';
|
|
60
60
|
import './SocialIcons.js';
|
|
61
61
|
import 'react-bootstrap/Form';
|
|
62
62
|
import 'react-bootstrap/FormControl';
|
package/dist/esm/Ustream.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
2
2
|
import React, { useState, useRef, useEffect } from 'react';
|
|
3
3
|
import { c as IoIosOpen } from './index.esm-3fdda599.js';
|
|
4
4
|
import { F as FaRegWindowClose } from './index.esm-a8ff922c.js';
|
|
5
5
|
import { m as main_40 } from './main-1450d277.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './web.dom.iterable-
|
|
8
|
-
import './es6.string.iterator-
|
|
9
|
-
import './_to-object-
|
|
10
|
-
import './core.get-iterator-method-
|
|
7
|
+
import './web.dom.iterable-035980f3.js';
|
|
8
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
9
|
+
import './_to-object-97770c52.js';
|
|
10
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
11
11
|
import './iconBase-602d52fe.js';
|
|
12
12
|
|
|
13
13
|
var Ustream = function Ustream(_ref) {
|
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
|
|
2
|
+
import { _ as _extends } from './extends-31d65aba.js';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
5
|
+
import Col from 'react-bootstrap/Col';
|
|
6
|
+
import Form from 'react-bootstrap/Form';
|
|
7
|
+
import Button from 'react-bootstrap/Button';
|
|
8
|
+
import { g as getSerializers } from './index-998e7b12.js';
|
|
9
|
+
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
12
|
+
import './_to-object-97770c52.js';
|
|
13
|
+
import './web.dom.iterable-035980f3.js';
|
|
14
|
+
import './_library-528f1934.js';
|
|
15
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
16
|
+
import './_set-species-494ed292.js';
|
|
17
|
+
import './_iter-detect-48516cd3.js';
|
|
18
|
+
import './_object-pie-33c40e79.js';
|
|
19
|
+
import 'prop-types';
|
|
20
|
+
import './index-3f5c03b2.js';
|
|
21
|
+
import './slicedToArray-cdeaee08.js';
|
|
22
|
+
import 'react-bootstrap';
|
|
23
|
+
import './index-669ff425.js';
|
|
24
|
+
import 'next/router';
|
|
25
|
+
import './index-c7e2ac95.js';
|
|
26
|
+
import './util-3ab476bf.js';
|
|
27
|
+
import './Beam.js';
|
|
28
|
+
import './stringify-d4839bab.js';
|
|
29
|
+
import './Segment.js';
|
|
30
|
+
import './main-1450d277.js';
|
|
31
|
+
import './index-752d1dae.js';
|
|
32
|
+
import 'react-dom';
|
|
33
|
+
import './typeof-e9cea9e8.js';
|
|
34
|
+
import './_is-array-674f71ec.js';
|
|
35
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
36
|
+
import './GroupDeck.js';
|
|
37
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
38
|
+
import './moment-bc12cb97.js';
|
|
39
|
+
import './_object-to-array-8f409e54.js';
|
|
40
|
+
import './toConsumableArray-fa2dcda7.js';
|
|
41
|
+
import 'react-bootstrap/Pagination';
|
|
42
|
+
import './entities-932b50cf.js';
|
|
43
|
+
import './AdSlot.js';
|
|
44
|
+
import './debounce-1a993acf.js';
|
|
45
|
+
import './isSymbol-807e927e.js';
|
|
46
|
+
import 'react-bootstrap/Row';
|
|
47
|
+
import 'next/head';
|
|
48
|
+
import './inherits-5906fbea.js';
|
|
49
|
+
import './_object-sap-fd3054d0.js';
|
|
50
|
+
import './define-property-ec6d528d.js';
|
|
51
|
+
import './index.esm-3fdda599.js';
|
|
52
|
+
import './iconBase-602d52fe.js';
|
|
53
|
+
import 'react-bootstrap/Figure';
|
|
54
|
+
import 'react-bootstrap/Container';
|
|
55
|
+
import './visibility-sensor-082c757b.js';
|
|
56
|
+
import './YoutubeGroup.js';
|
|
57
|
+
import './index.es-c6222053.js';
|
|
58
|
+
|
|
59
|
+
var _this = undefined;
|
|
60
|
+
|
|
61
|
+
var cache = { topic_ids: [] };
|
|
62
|
+
|
|
63
|
+
var VideoProgramLandingPage = function VideoProgramLandingPage(props) {
|
|
64
|
+
var client = props.client,
|
|
65
|
+
virtualBlock = props.virtualBlock,
|
|
66
|
+
topics = props.topics,
|
|
67
|
+
posts = props.posts,
|
|
68
|
+
query = props.query,
|
|
69
|
+
params = props.params,
|
|
70
|
+
_props$currentPage = props.currentPage,
|
|
71
|
+
currentPage = _props$currentPage === undefined ? 1 : _props$currentPage,
|
|
72
|
+
pageview = props.pageview,
|
|
73
|
+
_props$columns = props.columns,
|
|
74
|
+
columns = _props$columns === undefined ? 'rotate' : _props$columns,
|
|
75
|
+
_props$variant = props.variant,
|
|
76
|
+
variant = _props$variant === undefined ? 'top' : _props$variant,
|
|
77
|
+
_props$page = props.page,
|
|
78
|
+
page = _props$page === undefined ? '' : _props$page,
|
|
79
|
+
_props$autoScroll = props.autoScroll,
|
|
80
|
+
autoScroll = _props$autoScroll === undefined ? true : _props$autoScroll,
|
|
81
|
+
defaultImage = props.defaultImage,
|
|
82
|
+
mapping = props.mapping;
|
|
83
|
+
|
|
84
|
+
return React.createElement(
|
|
85
|
+
'div',
|
|
86
|
+
null,
|
|
87
|
+
virtualBlock && React.createElement(BlockContent, _extends({ serializers: getSerializers(client), blocks: virtualBlock.body, imageOptions: { w: 320, h: 240, fit: 'max' } }, client.config())),
|
|
88
|
+
React.createElement(
|
|
89
|
+
'div',
|
|
90
|
+
{ className: 'peer-exchange-filter-container' },
|
|
91
|
+
React.createElement(
|
|
92
|
+
Form,
|
|
93
|
+
{ className: 'ml-3', method: 'post' },
|
|
94
|
+
React.createElement(
|
|
95
|
+
Form.Row,
|
|
96
|
+
null,
|
|
97
|
+
React.createElement(
|
|
98
|
+
Col,
|
|
99
|
+
null,
|
|
100
|
+
React.createElement(
|
|
101
|
+
Form.Group,
|
|
102
|
+
{ controlId: 'topic' },
|
|
103
|
+
React.createElement(
|
|
104
|
+
Form.Control,
|
|
105
|
+
{ as: 'select', name: 'topic_id', placeholder: 'Filter by Topic' },
|
|
106
|
+
React.createElement(
|
|
107
|
+
'option',
|
|
108
|
+
{ value: '' },
|
|
109
|
+
'All Topics'
|
|
110
|
+
),
|
|
111
|
+
topics && topics.map(function (topic) {
|
|
112
|
+
if (props.topic_id === topic._id || topic.name == 'Peer Exchange') {
|
|
113
|
+
return null;
|
|
114
|
+
} else {
|
|
115
|
+
return React.createElement(
|
|
116
|
+
'option',
|
|
117
|
+
{ value: topic._id },
|
|
118
|
+
topic.name
|
|
119
|
+
);
|
|
120
|
+
}
|
|
121
|
+
})
|
|
122
|
+
)
|
|
123
|
+
)
|
|
124
|
+
),
|
|
125
|
+
React.createElement(
|
|
126
|
+
Col,
|
|
127
|
+
null,
|
|
128
|
+
React.createElement(
|
|
129
|
+
Button,
|
|
130
|
+
{ type: 'submit', variant: 'secondary' },
|
|
131
|
+
'Apply'
|
|
132
|
+
)
|
|
133
|
+
)
|
|
134
|
+
)
|
|
135
|
+
)
|
|
136
|
+
),
|
|
137
|
+
posts && React.createElement(VideoSeriesListing, {
|
|
138
|
+
client: client,
|
|
139
|
+
mapping: mapping,
|
|
140
|
+
dataRecord: posts,
|
|
141
|
+
query: query,
|
|
142
|
+
params: params,
|
|
143
|
+
currentPage: currentPage,
|
|
144
|
+
pageview: pageview,
|
|
145
|
+
columns: columns,
|
|
146
|
+
variant: variant,
|
|
147
|
+
page: page,
|
|
148
|
+
autoScroll: autoScroll,
|
|
149
|
+
defaultImage: defaultImage
|
|
150
|
+
})
|
|
151
|
+
);
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
VideoProgramLandingPage.getInitialData = function () {
|
|
155
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(context, client) {
|
|
156
|
+
var itemsPerPage = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 6;
|
|
157
|
+
var topicId = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';
|
|
158
|
+
var pathname, virtualBlock, query, taxonomy_ids_res, taxonomy_ids, i, res, j, topics, urlQuery, currentPage, start, params, posts;
|
|
159
|
+
return regenerator.wrap(function _callee$(_context) {
|
|
160
|
+
while (1) {
|
|
161
|
+
switch (_context.prev = _context.next) {
|
|
162
|
+
case 0:
|
|
163
|
+
// Virtual Block
|
|
164
|
+
pathname = context.pathname;
|
|
165
|
+
_context.next = 3;
|
|
166
|
+
return client.fetch('*[_type == \'virtualBlock\' && identifier == \'' + pathname + '\'][0]');
|
|
167
|
+
|
|
168
|
+
case 3:
|
|
169
|
+
virtualBlock = _context.sent;
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
// Topics for filtering
|
|
173
|
+
query = '';
|
|
174
|
+
|
|
175
|
+
if (!(cache && cache.topic_ids && cache.topic_ids.length > 0)) {
|
|
176
|
+
_context.next = 8;
|
|
177
|
+
break;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
_context.next = 15;
|
|
181
|
+
break;
|
|
182
|
+
|
|
183
|
+
case 8:
|
|
184
|
+
query = '*[\n _type == \'article\' \n && !(_id in path("drafts.**")) \n && defined(title) \n && defined(url)\n && references(\'02c6c999-e6fe-4275-98ca-ceef28f91e14\') \n && is_visible == true \n && dateTime(published) <= dateTime(now())\n ]{\n \'taxonomy_id\': taxonomyMapping[]->_id\n }';
|
|
185
|
+
_context.next = 11;
|
|
186
|
+
return client.fetch(query);
|
|
187
|
+
|
|
188
|
+
case 11:
|
|
189
|
+
taxonomy_ids_res = _context.sent;
|
|
190
|
+
taxonomy_ids = [];
|
|
191
|
+
|
|
192
|
+
for (i = 0; i < taxonomy_ids_res.length; i++) {
|
|
193
|
+
res = taxonomy_ids_res[i];
|
|
194
|
+
|
|
195
|
+
for (j = 0; j < res.taxonomy_id.length; j++) {
|
|
196
|
+
if (!taxonomy_ids.includes(res.taxonomy_id[j])) {
|
|
197
|
+
taxonomy_ids.push(res.taxonomy_id[j]);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
cache.topic_ids = taxonomy_ids;
|
|
202
|
+
|
|
203
|
+
case 15:
|
|
204
|
+
query = '*[_type == \'taxonomy\' && _id in $taxonomy_ids] | order(name asc)';
|
|
205
|
+
_context.next = 18;
|
|
206
|
+
return client.fetch(query, { taxonomy_ids: cache.topic_ids });
|
|
207
|
+
|
|
208
|
+
case 18:
|
|
209
|
+
topics = _context.sent;
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
// Posts
|
|
213
|
+
urlQuery = context.query;
|
|
214
|
+
currentPage = urlQuery.page ? parseInt(urlQuery.page) : 1;
|
|
215
|
+
start = (currentPage - 1) * itemsPerPage;
|
|
216
|
+
params = {
|
|
217
|
+
from: start,
|
|
218
|
+
to: start + itemsPerPage,
|
|
219
|
+
url: pathname
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
query = '*[\n _type == \'article\'\n && !(_id in path("drafts.**"))\n && defined(title)\n && defined(url)\n && is_visible == true\n && dateTime(published) <= dateTime(now())\n && references(\'02c6c999-e6fe-4275-98ca-ceef28f91e14\')\n ' + (topicId ? '&& references(\'' + topicId + '\')' : '') + '\n ] | order(published desc) [$from...$to]{\n \t\t...,\n \t\ttitle,\n \t\tsummary,\n \t\tpublished,\n \t\tthumbnail,\n \t\turl,\n \t\ttaxonomy,\n \t\tcontentCategory->,\n \t\tbody[_type == "youtubeGallery"],\n \t\t\'pageNumber\': ' + currentPage + '\n \t}';
|
|
223
|
+
_context.next = 26;
|
|
224
|
+
return client.fetch(query, params);
|
|
225
|
+
|
|
226
|
+
case 26:
|
|
227
|
+
posts = _context.sent;
|
|
228
|
+
return _context.abrupt('return', { virtualBlock: virtualBlock, topics: topics, posts: posts, query: query, params: params, currentPage: currentPage });
|
|
229
|
+
|
|
230
|
+
case 28:
|
|
231
|
+
case 'end':
|
|
232
|
+
return _context.stop();
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}, _callee, _this);
|
|
236
|
+
}));
|
|
237
|
+
|
|
238
|
+
return function (_x, _x2) {
|
|
239
|
+
return _ref.apply(this, arguments);
|
|
240
|
+
};
|
|
241
|
+
}();
|
|
242
|
+
|
|
243
|
+
export default VideoProgramLandingPage;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as _typeof } from './typeof-
|
|
1
|
+
import { _ as _typeof } from './typeof-e9cea9e8.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { L as LazyLoad } from './index-752d1dae.js';
|
|
4
4
|
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
@@ -6,11 +6,11 @@ import { m as moment } from './moment-bc12cb97.js';
|
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
|
-
import './es6.string.iterator-
|
|
10
|
-
import './_to-object-
|
|
11
|
-
import './web.dom.iterable-
|
|
12
|
-
import './_is-array-
|
|
13
|
-
import './_object-pie-
|
|
9
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
10
|
+
import './_to-object-97770c52.js';
|
|
11
|
+
import './web.dom.iterable-035980f3.js';
|
|
12
|
+
import './_is-array-674f71ec.js';
|
|
13
|
+
import './_object-pie-33c40e79.js';
|
|
14
14
|
import './_library-528f1934.js';
|
|
15
15
|
import 'react-dom';
|
|
16
16
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _slicedToArray } from './slicedToArray-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
|
|
2
|
+
import { _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
3
3
|
import React, { useState, useEffect } from 'react';
|
|
4
4
|
import { withRouter } from 'next/router';
|
|
5
5
|
import { DropdownButton, Dropdown } from 'react-bootstrap';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
|
-
import './es6.string.iterator-
|
|
8
|
-
import './_to-object-
|
|
9
|
-
import './web.dom.iterable-
|
|
7
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
8
|
+
import './_to-object-97770c52.js';
|
|
9
|
+
import './web.dom.iterable-035980f3.js';
|
|
10
10
|
import './_library-528f1934.js';
|
|
11
|
-
import './core.get-iterator-method-
|
|
12
|
-
import './_set-species-
|
|
13
|
-
import './_iter-detect-
|
|
11
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
12
|
+
import './_set-species-494ed292.js';
|
|
13
|
+
import './_iter-detect-48516cd3.js';
|
|
14
14
|
|
|
15
15
|
var _this = undefined;
|
|
16
16
|
|