@mjhls/mjh-framework 1.0.1082 → 1.0.1083
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/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/{ADInfeed-98ee4120.js → ADInfeed-2530b9b0.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/{ADlgInfeed-55df7d69.js → ADlgInfeed-df49ed95.js} +1 -1
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +532 -248
- package/dist/cjs/ArticleCarousel.js +1 -1
- package/dist/cjs/ArticleProgramLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesListing.js +2 -2
- package/dist/cjs/AuthWrapper.js +266 -642
- package/dist/cjs/CEDeckSupabase.js +2 -6
- package/dist/cjs/CMEDeck.js +2 -6
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/ContentCardPaginated.js +3 -3
- package/dist/cjs/DeckContent.js +3 -3
- package/dist/cjs/DeckQueue.js +2 -2
- package/dist/cjs/DeckQueuePaginated.js +2 -2
- package/dist/cjs/EventsDeck.js +3 -3
- package/dist/cjs/ExternalResources.js +5 -5
- package/dist/cjs/Feature.js +1 -1
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +4 -4
- package/dist/cjs/GridContentPaginated.js +4 -4
- package/dist/cjs/GridHero.js +1 -1
- package/dist/cjs/HamMagazine.js +2 -2
- package/dist/cjs/HighlightenVideo.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +4 -4
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/{ImageSlider-984a697b.js → ImageSlider-d65bc9c8.js} +156 -116
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +6 -6
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +4 -4
- package/dist/cjs/MasterDeckPaginated.js +3 -3
- package/dist/cjs/MediaSeriesCard.js +4 -4
- package/dist/cjs/MediaSeriesLanding.js +9 -9
- package/dist/cjs/MediaSeriesLandingPaginated.js +9 -9
- package/dist/cjs/NavMagazine.js +2 -2
- package/dist/cjs/NavNative.js +1 -1
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +1 -1
- package/dist/cjs/PartnerDetailListing.js +7 -8
- package/dist/cjs/PartnerDetailListingPaginated.js +7 -8
- package/dist/cjs/PodcastsLanding.js +7 -7
- package/dist/cjs/PtceDeck.js +1 -1
- package/dist/cjs/PubSection.js +4 -4
- package/dist/cjs/QueueDeckExpanded.js +4 -4
- package/dist/cjs/QueueDeckExpandedPaginated.js +4 -4
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/SeriesListingDeck.js +2 -2
- package/dist/cjs/{SeriesSlider-086a8319.js → SeriesSlider-a8b51591.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-d7e5d3a6.js → SocialSearchComponent-9d272141.js} +1 -1
- package/dist/cjs/TaxonomyDescription.js +4 -4
- package/dist/cjs/TemplateNormal.js +2 -2
- package/dist/cjs/{Tooltip-96fe6ef6.js → Tooltip-66c1a867.js} +159 -85
- package/dist/cjs/Ustream.js +1 -1
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesListing.js +2 -2
- package/dist/cjs/View.js +30 -16
- package/dist/cjs/YahooHero.js +1 -1
- package/dist/cjs/YoutubeGroup.js +1 -1
- package/dist/cjs/{brightcove-react-player-loader.es-4c7825a1.js → brightcove-react-player-loader.es-35faab67.js} +3 -3
- package/dist/cjs/getRelatedArticle.js +33 -15
- package/dist/cjs/getSerializers.js +4 -4
- package/dist/cjs/{index-4fdedd6a.js → index-1d905301.js} +234 -15
- package/dist/cjs/index-4d21663c.js +1573 -0
- package/dist/cjs/{index-50be6759.js → index-9ec837cc.js} +9 -25
- package/dist/cjs/index.js +11 -13
- package/dist/cjs/{main-ae8472f3.js → main-812888f1.js} +1 -1
- package/dist/cjs/{moment-aca40de1.js → moment-f730814d.js} +95 -80
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/esm/AD300x250.js +1 -1
- package/dist/esm/AD300x250x600.js +1 -1
- package/dist/esm/AD728x90.js +1 -1
- package/dist/esm/ADFloatingFooter.js +1 -1
- package/dist/esm/ADGutter.js +1 -1
- package/dist/esm/{ADInfeed-41bba2c6.js → ADInfeed-92953c60.js} +1 -1
- package/dist/esm/ADSkyscraper.js +1 -1
- package/dist/esm/ADSponsoredResources.js +1 -1
- package/dist/esm/ADWebcast.js +1 -1
- package/dist/esm/ADWelcome.js +1 -1
- package/dist/esm/{ADlgInfeed-3c717ece.js → ADlgInfeed-338ff48c.js} +1 -1
- package/dist/esm/AdSlot.js +1 -1
- package/dist/esm/AdSlotsProvider.js +1 -1
- package/dist/esm/AlgoliaSearch.js +531 -247
- package/dist/esm/ArticleCarousel.js +1 -1
- package/dist/esm/ArticleProgramLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesLandingPage.js +4 -4
- package/dist/esm/ArticleSeriesListing.js +2 -2
- package/dist/esm/AuthWrapper.js +263 -639
- package/dist/esm/CEDeckSupabase.js +2 -6
- package/dist/esm/CMEDeck.js +2 -6
- package/dist/esm/Column3.js +1 -1
- package/dist/esm/ConferenceArticleCard.js +1 -1
- package/dist/esm/ContentCardPaginated.js +3 -3
- package/dist/esm/DeckContent.js +3 -3
- package/dist/esm/DeckQueue.js +2 -2
- package/dist/esm/DeckQueuePaginated.js +2 -2
- package/dist/esm/EventsDeck.js +3 -3
- package/dist/esm/ExternalResources.js +5 -5
- package/dist/esm/Feature.js +1 -1
- package/dist/esm/ForbesHero.js +1 -1
- package/dist/esm/GridContent.js +4 -4
- package/dist/esm/GridContentPaginated.js +4 -4
- package/dist/esm/GridHero.js +1 -1
- package/dist/esm/HamMagazine.js +2 -2
- package/dist/esm/HighlightenVideo.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +4 -4
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/{ImageSlider-9250ddc9.js → ImageSlider-801685f8.js} +157 -117
- package/dist/esm/IssueContentDeck.js +1 -1
- package/dist/esm/IssueLanding.js +6 -6
- package/dist/esm/LeftNav.js +1 -1
- package/dist/esm/MasterDeck.js +4 -4
- package/dist/esm/MasterDeckPaginated.js +3 -3
- package/dist/esm/MediaSeriesCard.js +4 -4
- package/dist/esm/MediaSeriesLanding.js +9 -9
- package/dist/esm/MediaSeriesLandingPaginated.js +9 -9
- package/dist/esm/NavMagazine.js +2 -2
- package/dist/esm/NavNative.js +1 -1
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +1 -1
- package/dist/esm/Pagination-9fe9f61d.js +1 -1
- package/dist/esm/PartnerDetailListing.js +7 -8
- package/dist/esm/PartnerDetailListingPaginated.js +7 -8
- package/dist/esm/PodcastsLanding.js +7 -7
- package/dist/esm/PtceDeck.js +1 -1
- package/dist/esm/PubSection.js +4 -4
- package/dist/esm/QueueDeckExpanded.js +4 -4
- package/dist/esm/QueueDeckExpandedPaginated.js +4 -4
- package/dist/esm/RelatedContent.js +1 -1
- package/dist/esm/SeriesListingDeck.js +2 -2
- package/dist/esm/{SeriesSlider-acbdf4c9.js → SeriesSlider-5757414b.js} +1 -1
- package/dist/esm/{SocialSearchComponent-9e65c8d6.js → SocialSearchComponent-98bfc990.js} +1 -1
- package/dist/esm/TaxonomyDescription.js +4 -4
- package/dist/esm/TemplateNormal.js +2 -2
- package/dist/esm/{Tooltip-bc98d17e.js → Tooltip-0b3b4558.js} +318 -244
- package/dist/esm/Ustream.js +1 -1
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +4 -4
- package/dist/esm/VideoSeriesCard.js +1 -1
- package/dist/esm/VideoSeriesLandingPage.js +4 -4
- package/dist/esm/VideoSeriesListing.js +2 -2
- package/dist/esm/View.js +30 -16
- package/dist/esm/YahooHero.js +1 -1
- package/dist/esm/YoutubeGroup.js +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-a2422c4b.js} +3 -3
- package/dist/esm/getRelatedArticle.js +34 -16
- package/dist/esm/getSerializers.js +4 -4
- package/dist/esm/{index-98ca9cec.js → index-0ce54f8a.js} +10 -25
- package/dist/esm/{index-de2bb37c.js → index-517a7573.js} +234 -15
- package/dist/esm/index-887c1f5e.js +1571 -0
- package/dist/esm/index.js +11 -13
- package/dist/esm/{main-754d4992.js → main-dde1592e.js} +1 -1
- package/dist/esm/{moment-bc12cb97.js → moment-48faeb9c.js} +95 -80
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/visibility-sensor-72fd8f8b.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/index-96c331fd.js +0 -1572
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/index-30a6257d.js +0 -1570
- package/dist/esm/typeof-2f07d0e8.js +0 -30
package/dist/esm/Ustream.js
CHANGED
|
@@ -2,7 +2,7 @@ import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1eb
|
|
|
2
2
|
import { _ as _slicedToArray } from './slicedToArray-72ed566b.js';
|
|
3
3
|
import React__default, { useState, useRef, useEffect } from 'react';
|
|
4
4
|
import { F as FaWindowClose } from './index.esm-1bd8a0a8.js';
|
|
5
|
-
import { m as main_43 } from './main-
|
|
5
|
+
import { m as main_43 } from './main-dde1592e.js';
|
|
6
6
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
7
7
|
import './core.get-iterator-method-95db387d.js';
|
|
8
8
|
import './web.dom.iterable-3fffc027.js';
|
package/dist/esm/VerticalHero.js
CHANGED
|
@@ -5,7 +5,7 @@ import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
|
5
5
|
import Col from 'react-bootstrap/Col';
|
|
6
6
|
import Form from 'react-bootstrap/Form';
|
|
7
7
|
import Button from 'react-bootstrap/Button';
|
|
8
|
-
import { g as getSerializers } from './index-
|
|
8
|
+
import { g as getSerializers } from './index-517a7573.js';
|
|
9
9
|
import VideoSeriesListing from './VideoSeriesListing.js';
|
|
10
10
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
11
11
|
import './core.get-iterator-method-95db387d.js';
|
|
@@ -24,13 +24,13 @@ import './index-c7e2ac95.js';
|
|
|
24
24
|
import './Beam.js';
|
|
25
25
|
import './stringify-1e2a5946.js';
|
|
26
26
|
import './Segment.js';
|
|
27
|
-
import './main-
|
|
27
|
+
import './main-dde1592e.js';
|
|
28
28
|
import './urlForFile-2e523b67.js';
|
|
29
29
|
import './index-755f2cc2.js';
|
|
30
30
|
import 'react-dom';
|
|
31
31
|
import './typeof-3ab7d3b6.js';
|
|
32
32
|
import './_is-array-68c79b29.js';
|
|
33
|
-
import './brightcove-react-player-loader.es-
|
|
33
|
+
import './brightcove-react-player-loader.es-a2422c4b.js';
|
|
34
34
|
import './_object-to-array-9dfdfb29.js';
|
|
35
35
|
import './keys-185288f4.js';
|
|
36
36
|
import './_object-sap-14bd8e96.js';
|
|
@@ -38,7 +38,7 @@ import 'react-bootstrap/Modal';
|
|
|
38
38
|
import 'react-ga';
|
|
39
39
|
import './GroupDeck.js';
|
|
40
40
|
import './smoothscroll-fa4e3f8c.js';
|
|
41
|
-
import './moment-
|
|
41
|
+
import './moment-48faeb9c.js';
|
|
42
42
|
import './SocialShare.js';
|
|
43
43
|
import 'next/head';
|
|
44
44
|
import 'react-share';
|
|
@@ -2,7 +2,7 @@ import { _ as _typeof } from './typeof-3ab7d3b6.js';
|
|
|
2
2
|
import React__default from 'react';
|
|
3
3
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
4
4
|
import urlFor from './urlFor.js';
|
|
5
|
-
import { m as moment } from './moment-
|
|
5
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
6
6
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
7
7
|
import 'prop-types';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
|
|
2
2
|
import { _ as _typeof } from './typeof-3ab7d3b6.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
import { m as moment } from './moment-
|
|
4
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
5
5
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
6
6
|
import Breadcrumbs from './Breadcrumbs.js';
|
|
7
7
|
import MasterDeck from './MasterDeck.js';
|
|
@@ -35,13 +35,13 @@ import './index.es-a6137319.js';
|
|
|
35
35
|
import './visibility-sensor-72fd8f8b.js';
|
|
36
36
|
import 'react-dom';
|
|
37
37
|
import './index-3f5c03b2.js';
|
|
38
|
-
import './ADlgInfeed-
|
|
38
|
+
import './ADlgInfeed-338ff48c.js';
|
|
39
39
|
import './AdSlot.js';
|
|
40
40
|
import './Beam.js';
|
|
41
41
|
import './stringify-1e2a5946.js';
|
|
42
42
|
import './Segment.js';
|
|
43
|
-
import './main-
|
|
44
|
-
import './ADInfeed-
|
|
43
|
+
import './main-dde1592e.js';
|
|
44
|
+
import './ADInfeed-92953c60.js';
|
|
45
45
|
import './index-755f2cc2.js';
|
|
46
46
|
import './urlFor.js';
|
|
47
47
|
import './style-inject.es-1f59c1d0.js';
|
|
@@ -5,7 +5,7 @@ import { l as lib_3 } from './index-5cc7b406.js';
|
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
6
6
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
7
7
|
import { I as IoIosArrowForward } from './index.esm-eb1e8e80.js';
|
|
8
|
-
import { m as moment } from './moment-
|
|
8
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
11
11
|
import { d as debounce_1 } from './debounce-533d9748.js';
|
|
@@ -27,7 +27,7 @@ import './index-755f2cc2.js';
|
|
|
27
27
|
import './smoothscroll-fa4e3f8c.js';
|
|
28
28
|
import './urlFor.js';
|
|
29
29
|
import './index-3f5c03b2.js';
|
|
30
|
-
import './main-
|
|
30
|
+
import './main-dde1592e.js';
|
|
31
31
|
import './isSymbol-a7e9aafe.js';
|
|
32
32
|
import './toNumber-5aeba6e7.js';
|
|
33
33
|
|
package/dist/esm/View.js
CHANGED
|
@@ -6,18 +6,18 @@ import Head from 'next/head';
|
|
|
6
6
|
import { useRouter } from 'next/router';
|
|
7
7
|
import { _ as _JSON$stringify } from './stringify-1e2a5946.js';
|
|
8
8
|
import { _ as _toConsumableArray } from './toConsumableArray-e6f28e5c.js';
|
|
9
|
-
import { m as moment } from './moment-
|
|
9
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
10
10
|
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { m as main_43 } from './main-
|
|
11
|
+
import { m as main_43 } from './main-dde1592e.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
16
|
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-517a7573.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-5757414b.js';
|
|
21
21
|
import { a as getContentPlacementUrl, g as getTargeting } from './getTargeting-b62a177c.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
@@ -49,7 +49,7 @@ import 'react-bootstrap';
|
|
|
49
49
|
import './index-c7e2ac95.js';
|
|
50
50
|
import './Beam.js';
|
|
51
51
|
import './Segment.js';
|
|
52
|
-
import './brightcove-react-player-loader.es-
|
|
52
|
+
import './brightcove-react-player-loader.es-a2422c4b.js';
|
|
53
53
|
import './_object-to-array-9dfdfb29.js';
|
|
54
54
|
import 'react-bootstrap/Modal';
|
|
55
55
|
import 'react-ga';
|
|
@@ -114,7 +114,8 @@ var getDocumentGroupUrl = function getDocumentGroupUrl(docGroup) {
|
|
|
114
114
|
if (typeof url !== 'undefined') {
|
|
115
115
|
url = url + '/' + docGroup.path;
|
|
116
116
|
} else {
|
|
117
|
-
url = '/' + docGroup.path
|
|
117
|
+
// url = '/' + docGroup.path
|
|
118
|
+
return null;
|
|
118
119
|
}
|
|
119
120
|
|
|
120
121
|
return url;
|
|
@@ -137,7 +138,8 @@ var getDocumentGroupName = function getDocumentGroupName(docGroup) {
|
|
|
137
138
|
if (typeof name !== 'undefined') {
|
|
138
139
|
name = name + ' | <b>' + docGroup.name + '</b>';
|
|
139
140
|
} else {
|
|
140
|
-
name = '<b>' + docGroup.name + '</b>'
|
|
141
|
+
// name = '<b>' + docGroup.name + '</b>'
|
|
142
|
+
return null;
|
|
141
143
|
}
|
|
142
144
|
|
|
143
145
|
return name && typeof name != 'undefined' ? name : null;
|
|
@@ -187,7 +189,7 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
187
189
|
{ style: { textAlign: 'center', fontWeight: 600 } },
|
|
188
190
|
article.documentGroupMapping && article.documentGroupMapping[0] && article.documentGroupMapping[0].parent && article.documentGroupMapping[0].parent.parent && article.documentGroupMapping[0].parent.parent.contextText ? article.documentGroupMapping[0].parent.parent.contextText : article.documentGroup && article.documentGroup.parent && article.documentGroup.parent.parent && article.documentGroup.parent.parent.contextText ? article.documentGroup.parent.parent.contextText : null
|
|
189
191
|
),
|
|
190
|
-
React__default.createElement(
|
|
192
|
+
url && name && React__default.createElement(
|
|
191
193
|
'a',
|
|
192
194
|
{
|
|
193
195
|
href: url,
|
|
@@ -1261,12 +1263,23 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1261
1263
|
if (documentGroup.isShow === false || documentGroup.excludeRelatedContents) {
|
|
1262
1264
|
return null;
|
|
1263
1265
|
}
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1266
|
+
|
|
1267
|
+
var doc_url = cpModificationRequired ? getDocumentGroupUrl(documentGroup) : documentGroup.ancestor ? documentGroup.parent && !documentGroup.path.includes('/') ? '/' + documentGroup.ancestor + '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.ancestor + '/' + documentGroup.path : documentGroup.parent ? !documentGroup.path.includes('/') ? '/' + documentGroup.parent.identifier.current + '/' + documentGroup.path : '/' + documentGroup.path : '/' + documentGroup.path;
|
|
1268
|
+
var href = '' + doc_url;
|
|
1269
|
+
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: documentGroup.name, href: href }]);
|
|
1270
|
+
// if (documentGroup.parent) {
|
|
1271
|
+
// relatedLinks = [
|
|
1272
|
+
// ...relatedLinks,
|
|
1273
|
+
// {
|
|
1274
|
+
// label: documentGroup.name,
|
|
1275
|
+
// href: cpModificationRequired
|
|
1276
|
+
// ? getDocumentGroupUrl(documentGroup)
|
|
1277
|
+
// : documentGroup.parent.identifier && documentGroup.parent.identifier.current && !documentGroup.path.includes('/')
|
|
1278
|
+
// ? `/${documentGroup.parent.identifier.current}/${documentGroup.path}`
|
|
1279
|
+
// : `/${documentGroup.path}`
|
|
1280
|
+
// }
|
|
1281
|
+
// ]
|
|
1282
|
+
// }
|
|
1270
1283
|
});
|
|
1271
1284
|
}
|
|
1272
1285
|
if (content_placement && content_placement.length > 0) {
|
|
@@ -1276,7 +1289,8 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1276
1289
|
if (cp.excludeRelatedContents) {
|
|
1277
1290
|
return null;
|
|
1278
1291
|
}
|
|
1279
|
-
|
|
1292
|
+
|
|
1293
|
+
var cp_url = cpModificationRequired ? getContentPlacementUrl(cp) : cp.ancestor ? cp.parent && !cp.path.includes('/') ? cp.ancestor + '/' + cp.parent + '/' + cp.path : cp.ancestor + '/' + cp.path : cp.parent ? !cp.path.includes('/') ? cp.parent + '/' + cp.path : '' + cp.path : '' + cp.path;
|
|
1280
1294
|
var href = '/' + cp_url;
|
|
1281
1295
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: cp.name, href: href }]);
|
|
1282
1296
|
});
|
|
@@ -1298,7 +1312,7 @@ var Article = React__default.memo(forwardRef(function (props, ref) {
|
|
|
1298
1312
|
{ key: index, className: 'related-link' },
|
|
1299
1313
|
React__default.createElement(
|
|
1300
1314
|
'a',
|
|
1301
|
-
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
1315
|
+
{ className: 'related-links article', style: { color: 'blue' }, href: relatedLink.href },
|
|
1302
1316
|
relatedLink.label
|
|
1303
1317
|
),
|
|
1304
1318
|
React__default.createElement(
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { m as moment } from './moment-
|
|
2
|
+
import { m as moment } from './moment-48faeb9c.js';
|
|
3
3
|
import urlFor from './urlFor.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-6d9154b4.js';
|
|
5
5
|
import { A as AuthorComponent } from './AuthorComponent-d9653ae5.js';
|
package/dist/esm/YoutubeGroup.js
CHANGED
|
@@ -4,7 +4,7 @@ import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
|
4
4
|
import { L as LazyLoad } from './index-755f2cc2.js';
|
|
5
5
|
import { s as smoothscroll } from './smoothscroll-fa4e3f8c.js';
|
|
6
6
|
import urlFor from './urlFor.js';
|
|
7
|
-
import { m as main_43, a as main_49, b as main_42 } from './main-
|
|
7
|
+
import { m as main_43, a as main_49, b as main_42 } from './main-dde1592e.js';
|
|
8
8
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
9
9
|
import './web.dom.iterable-3fffc027.js';
|
|
10
10
|
import './core.get-iterator-method-95db387d.js';
|
|
@@ -564,7 +564,7 @@ proto.createDocumentFragment = function createDocumentFragment() {
|
|
|
564
564
|
};
|
|
565
565
|
|
|
566
566
|
proto.createEvent = function createEvent(family) {
|
|
567
|
-
return new event(
|
|
567
|
+
return new event()
|
|
568
568
|
};
|
|
569
569
|
|
|
570
570
|
proto.createComment = function createComment(data) {
|
|
@@ -625,7 +625,7 @@ if (typeof window !== "undefined") {
|
|
|
625
625
|
|
|
626
626
|
var window_1 = win;
|
|
627
627
|
|
|
628
|
-
/*! @name @brightcove/react-player-loader @version 1.4.
|
|
628
|
+
/*! @name @brightcove/react-player-loader @version 1.4.2 @license Apache-2.0 */
|
|
629
629
|
|
|
630
630
|
function _extends() {
|
|
631
631
|
_extends = Object.assign || function (target) {
|
|
@@ -2073,7 +2073,7 @@ function (_React$Component) {
|
|
|
2073
2073
|
|
|
2074
2074
|
_proto.updatePlayer = function updatePlayer(changes) {
|
|
2075
2075
|
// No player exists, player is disposed, or not using the catalog
|
|
2076
|
-
if (!this.player || !this.player.el()) {
|
|
2076
|
+
if (!this.player || !this.player.el || !this.player.el()) {
|
|
2077
2077
|
return;
|
|
2078
2078
|
} // If the player is using the catalog plugin, we _may_ populate this
|
|
2079
2079
|
// variable with an object.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-1ebeb135.js';
|
|
2
|
-
import { c as createCommonjsModule,
|
|
2
|
+
import { c as createCommonjsModule, u as unwrapExports, a as commonjsGlobal } from './_commonjsHelpers-0c4b6f40.js';
|
|
3
3
|
import getQuery from './getQuery.js';
|
|
4
4
|
import './core.get-iterator-method-95db387d.js';
|
|
5
5
|
import './web.dom.iterable-3fffc027.js';
|
|
@@ -29,7 +29,6 @@ var serialize_1 = serialize;
|
|
|
29
29
|
|
|
30
30
|
var decode = decodeURIComponent;
|
|
31
31
|
var encode = encodeURIComponent;
|
|
32
|
-
var pairSplitRegExp = /; */;
|
|
33
32
|
|
|
34
33
|
/**
|
|
35
34
|
* RegExp to match field-content in RFC 7230 sec 3.2
|
|
@@ -60,28 +59,29 @@ function parse$1(str, options) {
|
|
|
60
59
|
|
|
61
60
|
var obj = {};
|
|
62
61
|
var opt = options || {};
|
|
63
|
-
var pairs = str.split(
|
|
62
|
+
var pairs = str.split(';');
|
|
64
63
|
var dec = opt.decode || decode;
|
|
65
64
|
|
|
66
65
|
for (var i = 0; i < pairs.length; i++) {
|
|
67
66
|
var pair = pairs[i];
|
|
68
|
-
var
|
|
67
|
+
var index = pair.indexOf('=');
|
|
69
68
|
|
|
70
69
|
// skip things that don't look like key=value
|
|
71
|
-
if (
|
|
70
|
+
if (index < 0) {
|
|
72
71
|
continue;
|
|
73
72
|
}
|
|
74
73
|
|
|
75
|
-
var key = pair.
|
|
76
|
-
var val = pair.substr(++eq_idx, pair.length).trim();
|
|
77
|
-
|
|
78
|
-
// quoted values
|
|
79
|
-
if ('"' == val[0]) {
|
|
80
|
-
val = val.slice(1, -1);
|
|
81
|
-
}
|
|
74
|
+
var key = pair.substring(0, index).trim();
|
|
82
75
|
|
|
83
76
|
// only assign once
|
|
84
77
|
if (undefined == obj[key]) {
|
|
78
|
+
var val = pair.substring(index + 1, pair.length).trim();
|
|
79
|
+
|
|
80
|
+
// quoted values
|
|
81
|
+
if (val[0] === '"') {
|
|
82
|
+
val = val.slice(1, -1);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
85
|
obj[key] = tryDecode(val, dec);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
@@ -225,9 +225,11 @@ function isNonEmptyString(str) {
|
|
|
225
225
|
|
|
226
226
|
function parseString(setCookieValue, options) {
|
|
227
227
|
var parts = setCookieValue.split(";").filter(isNonEmptyString);
|
|
228
|
-
|
|
229
|
-
var
|
|
230
|
-
var
|
|
228
|
+
|
|
229
|
+
var nameValuePairStr = parts.shift();
|
|
230
|
+
var parsed = parseNameValuePair(nameValuePairStr);
|
|
231
|
+
var name = parsed.name;
|
|
232
|
+
var value = parsed.value;
|
|
231
233
|
|
|
232
234
|
options = options
|
|
233
235
|
? Object.assign({}, defaultParseOptions, options)
|
|
@@ -245,7 +247,7 @@ function parseString(setCookieValue, options) {
|
|
|
245
247
|
}
|
|
246
248
|
|
|
247
249
|
var cookie = {
|
|
248
|
-
name: name,
|
|
250
|
+
name: name,
|
|
249
251
|
value: value,
|
|
250
252
|
};
|
|
251
253
|
|
|
@@ -271,6 +273,22 @@ function parseString(setCookieValue, options) {
|
|
|
271
273
|
return cookie;
|
|
272
274
|
}
|
|
273
275
|
|
|
276
|
+
function parseNameValuePair(nameValuePairStr) {
|
|
277
|
+
// Parses name-value-pair according to rfc6265bis draft
|
|
278
|
+
|
|
279
|
+
var name = "";
|
|
280
|
+
var value = "";
|
|
281
|
+
var nameValueArr = nameValuePairStr.split("=");
|
|
282
|
+
if (nameValueArr.length > 1) {
|
|
283
|
+
name = nameValueArr.shift();
|
|
284
|
+
value = nameValueArr.join("="); // everything after the first =, joined by a "=" if there was more than one part
|
|
285
|
+
} else {
|
|
286
|
+
value = nameValuePairStr;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
return { name: name, value: value };
|
|
290
|
+
}
|
|
291
|
+
|
|
274
292
|
function parse(input, options) {
|
|
275
293
|
options = options
|
|
276
294
|
? Object.assign({}, defaultParseOptions, options)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'react';
|
|
2
|
-
export { g as default } from './index-
|
|
2
|
+
export { g as default } from './index-517a7573.js';
|
|
3
3
|
import './BlockContent-1e73bd2c.js';
|
|
4
4
|
import './entities-6d9154b4.js';
|
|
5
5
|
import './slicedToArray-72ed566b.js';
|
|
@@ -21,13 +21,13 @@ import './_library-528f1934.js';
|
|
|
21
21
|
import './_set-species-7d3317b7.js';
|
|
22
22
|
import './_iter-detect-2f89237f.js';
|
|
23
23
|
import './Segment.js';
|
|
24
|
-
import './main-
|
|
24
|
+
import './main-dde1592e.js';
|
|
25
25
|
import './urlForFile-2e523b67.js';
|
|
26
26
|
import './index-755f2cc2.js';
|
|
27
27
|
import 'react-dom';
|
|
28
28
|
import './typeof-3ab7d3b6.js';
|
|
29
29
|
import './_is-array-68c79b29.js';
|
|
30
|
-
import './brightcove-react-player-loader.es-
|
|
30
|
+
import './brightcove-react-player-loader.es-a2422c4b.js';
|
|
31
31
|
import './_object-to-array-9dfdfb29.js';
|
|
32
32
|
import './keys-185288f4.js';
|
|
33
33
|
import './_object-sap-14bd8e96.js';
|
|
@@ -37,7 +37,7 @@ import 'react-bootstrap/Form';
|
|
|
37
37
|
import 'react-ga';
|
|
38
38
|
import './GroupDeck.js';
|
|
39
39
|
import './smoothscroll-fa4e3f8c.js';
|
|
40
|
-
import './moment-
|
|
40
|
+
import './moment-48faeb9c.js';
|
|
41
41
|
import './SocialShare.js';
|
|
42
42
|
import 'next/head';
|
|
43
43
|
import 'react-share';
|
|
@@ -33,18 +33,9 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
33
33
|
return target;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
function _setPrototypeOf(o, p) {
|
|
37
|
-
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
38
|
-
o.__proto__ = p;
|
|
39
|
-
return o;
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
return _setPrototypeOf(o, p);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
36
|
var classnames = createCommonjsModule(function (module) {
|
|
46
37
|
/*!
|
|
47
|
-
Copyright (c)
|
|
38
|
+
Copyright (c) 2017 Jed Watson.
|
|
48
39
|
Licensed under the MIT License (MIT), see
|
|
49
40
|
http://jedwatson.github.io/classnames
|
|
50
41
|
*/
|
|
@@ -54,7 +45,7 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
54
45
|
|
|
55
46
|
var hasOwn = {}.hasOwnProperty;
|
|
56
47
|
|
|
57
|
-
function classNames() {
|
|
48
|
+
function classNames () {
|
|
58
49
|
var classes = [];
|
|
59
50
|
|
|
60
51
|
for (var i = 0; i < arguments.length; i++) {
|
|
@@ -65,22 +56,16 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
65
56
|
|
|
66
57
|
if (argType === 'string' || argType === 'number') {
|
|
67
58
|
classes.push(arg);
|
|
68
|
-
} else if (Array.isArray(arg)) {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
classes.push(inner);
|
|
73
|
-
}
|
|
59
|
+
} else if (Array.isArray(arg) && arg.length) {
|
|
60
|
+
var inner = classNames.apply(null, arg);
|
|
61
|
+
if (inner) {
|
|
62
|
+
classes.push(inner);
|
|
74
63
|
}
|
|
75
64
|
} else if (argType === 'object') {
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
classes.push(key);
|
|
80
|
-
}
|
|
65
|
+
for (var key in arg) {
|
|
66
|
+
if (hasOwn.call(arg, key) && arg[key]) {
|
|
67
|
+
classes.push(key);
|
|
81
68
|
}
|
|
82
|
-
} else {
|
|
83
|
-
classes.push(arg.toString());
|
|
84
69
|
}
|
|
85
70
|
}
|
|
86
71
|
}
|
|
@@ -97,4 +82,4 @@ var classnames = createCommonjsModule(function (module) {
|
|
|
97
82
|
}());
|
|
98
83
|
});
|
|
99
84
|
|
|
100
|
-
export { _objectWithoutPropertiesLoose as _,
|
|
85
|
+
export { _objectWithoutPropertiesLoose as _, _extends as a, classnames as c };
|