@mjhls/mjh-framework 1.0.771-full-path-docgroup → 1.0.771
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 +169 -169
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +16 -16
- package/dist/cjs/AD300x250x600.js +16 -16
- package/dist/cjs/AD728x90.js +17 -17
- package/dist/cjs/ADFloatingFooter.js +15 -15
- package/dist/cjs/ADFooter.js +5 -5
- package/dist/cjs/ADGutter.js +15 -15
- package/dist/cjs/{ADInfeed-38240eb1.js → ADInfeed-d1eceaf2.js} +1 -1
- package/dist/cjs/ADSkyscraper.js +15 -15
- package/dist/cjs/ADSponsoredResources.js +15 -15
- package/dist/cjs/ADWebcast.js +15 -15
- package/dist/cjs/ADWelcome.js +15 -15
- package/dist/cjs/{ADlgInfeed-795bcf35.js → ADlgInfeed-24c693d8.js} +1 -1
- package/dist/cjs/AccordionPanel.js +5 -5
- package/dist/cjs/AdSlot.js +17 -17
- package/dist/cjs/AdSlotsProvider.js +11 -11
- package/dist/cjs/AlphabeticList.js +9 -9
- package/dist/cjs/ArticleCarousel.js +11 -11
- package/dist/cjs/ArticleProgramLandingPage.js +25 -25
- package/dist/cjs/ArticleSeriesLandingPage.js +25 -25
- package/dist/cjs/ArticleSeriesListing.js +17 -17
- package/dist/cjs/Auth.js +469 -207
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-5fa89df5.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-eca358e4.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +5 -5
- package/dist/cjs/CMEDeck.js +15 -15
- package/dist/cjs/Column2.js +12 -12
- package/dist/cjs/Column3.js +21 -21
- package/dist/cjs/ConferenceArticleCard.js +16 -16
- package/dist/cjs/DeckContent.js +32 -32
- package/dist/cjs/DeckQueue.js +21 -21
- package/dist/cjs/{Dfp-b63b5e5f.js → Dfp-a17e00fa.js} +8 -8
- package/dist/cjs/EventsDeck.js +36 -36
- package/dist/cjs/ExternalResources.js +26 -26
- package/dist/cjs/Feature.js +3 -3
- package/dist/cjs/ForbesHero.js +7 -7
- package/dist/cjs/GridContent.js +31 -31
- package/dist/cjs/GridHero.js +7 -7
- package/dist/cjs/GroupDeck.js +9 -9
- package/dist/cjs/HamMagazine.js +22 -22
- package/dist/cjs/Hero.js +1 -1
- package/dist/cjs/HorizontalArticleListing.js +25 -25
- package/dist/cjs/HorizontalHero.js +1 -1
- package/dist/cjs/IssueContentDeck.js +7 -7
- package/dist/cjs/IssueDeck.js +10 -10
- package/dist/cjs/IssueLanding.js +50 -50
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +15 -15
- package/dist/cjs/MasterDeck.js +33 -33
- package/dist/cjs/MediaSeriesLanding.js +14 -14
- package/dist/cjs/NavDvm.js +8 -8
- package/dist/cjs/NavMagazine.js +22 -22
- package/dist/cjs/NavNative.js +27 -27
- package/dist/cjs/NavNormal.js +8 -8
- package/dist/cjs/OncliveHero.js +1 -1
- package/dist/cjs/OncliveLargeHero.js +7 -7
- package/dist/cjs/PageFilter.js +5 -5
- package/dist/cjs/PartnerDetailListing.js +29 -29
- package/dist/cjs/PopUpModal.js +5 -5
- package/dist/cjs/PubSection.js +21 -21
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +2 -2
- package/dist/cjs/PublicationLanding.js +51 -51
- package/dist/cjs/QueueDeckExpanded.js +23 -23
- package/dist/cjs/RecentNews.js +1 -1
- package/dist/cjs/RelatedContent.js +29 -29
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +5 -5
- package/dist/cjs/Segment.js +7 -7
- package/dist/cjs/SeriesListingDeck.js +12 -12
- package/dist/cjs/{SeriesSlider-7dbeaa51.js → SeriesSlider-8b500128.js} +12 -12
- package/dist/cjs/SideFooter.js +14 -14
- package/dist/cjs/{SocialSearchComponent-31afe61f.js → SocialSearchComponent-45c54bed.js} +6 -6
- package/dist/cjs/TaxonomyCard.js +5 -5
- package/dist/cjs/TaxonomyDescription.js +25 -25
- package/dist/cjs/TemplateNormal.js +20 -20
- package/dist/cjs/ThumbnailCard.js +1 -1
- package/dist/cjs/Ustream.js +7 -7
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +25 -25
- package/dist/cjs/VideoSeriesCard.js +8 -8
- package/dist/cjs/VideoSeriesFilter.js +8 -8
- package/dist/cjs/VideoSeriesLandingPage.js +25 -25
- package/dist/cjs/VideoSeriesListing.js +17 -17
- package/dist/cjs/View.js +56 -152
- package/dist/cjs/YahooHero.js +7 -7
- package/dist/cjs/YoutubeGroup.js +19 -19
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-63ae4740.js} +1 -1
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-2613ffa1.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-c5bd707d.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-bec5fcf2.js} +2 -2
- package/dist/cjs/{_set-species-9f96b3af.js → _set-species-a8cfdb84.js} +4 -4
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-821a2927.js} +4 -4
- package/dist/cjs/{asyncToGenerator-6d1a113d.js → asyncToGenerator-2edcb6ad.js} +27 -27
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-b4615fd3.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-aff11f8a.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-d6fbb280.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-20d42c53.js} +5 -5
- package/dist/cjs/{extends-9d158713.js → extends-1e24fc8d.js} +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getQuery.js +1 -1
- package/dist/cjs/getRelatedArticle.js +10 -12
- package/dist/cjs/getRootDocGroup.js +7 -7
- package/dist/cjs/getSerializers.js +25 -25
- package/dist/cjs/{getTargeting-3cdc6e1d.js → getTargeting-497b581d.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-f86bb269.js → index-4d74ffd6.js} +4 -4
- package/dist/cjs/{index-873750c4.js → index-9475e5ae.js} +85 -85
- package/dist/cjs/{index-efca863c.js → index-d48b231c.js} +5 -5
- package/dist/cjs/index.js +37 -37
- package/dist/cjs/{inherits-3ff1b657.js → inherits-2eb23889.js} +19 -19
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-95c064c9.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-4ef21f0f.js} +9 -57
- package/dist/cjs/{main-025fdc78.js → main-dc082238.js} +109 -184
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-db24842a.js} +14 -14
- package/dist/cjs/stringify-01cf47f7.js +17 -0
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-cf0865fc.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-97065d40.js} +34 -34
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-4480325a.js} +2 -2
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +16 -16
- package/dist/esm/AD300x250x600.js +16 -16
- package/dist/esm/AD728x90.js +17 -17
- package/dist/esm/ADFloatingFooter.js +15 -15
- package/dist/esm/ADFooter.js +5 -5
- package/dist/esm/ADGutter.js +15 -15
- package/dist/esm/{ADInfeed-de396be9.js → ADInfeed-c12cd1ce.js} +1 -1
- package/dist/esm/ADSkyscraper.js +15 -15
- package/dist/esm/ADSponsoredResources.js +15 -15
- package/dist/esm/ADWebcast.js +15 -15
- package/dist/esm/ADWelcome.js +15 -15
- package/dist/esm/{ADlgInfeed-a6f8b5fa.js → ADlgInfeed-246a8787.js} +1 -1
- package/dist/esm/AccordionPanel.js +5 -5
- package/dist/esm/AdSlot.js +17 -17
- package/dist/esm/AdSlotsProvider.js +11 -11
- package/dist/esm/AlphabeticList.js +9 -9
- package/dist/esm/ArticleCarousel.js +11 -11
- package/dist/esm/ArticleProgramLandingPage.js +25 -25
- package/dist/esm/ArticleSeriesLandingPage.js +25 -25
- package/dist/esm/ArticleSeriesListing.js +17 -17
- package/dist/esm/Auth.js +470 -208
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-c7ff069f.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-d8cd739c.js} +34 -34
- package/dist/esm/Breadcrumbs.js +5 -5
- package/dist/esm/CMEDeck.js +15 -15
- package/dist/esm/Column2.js +12 -12
- package/dist/esm/Column3.js +21 -21
- package/dist/esm/ConferenceArticleCard.js +16 -16
- package/dist/esm/DeckContent.js +32 -32
- package/dist/esm/DeckQueue.js +21 -21
- package/dist/esm/{Dfp-723aab19.js → Dfp-988dbcaa.js} +8 -8
- package/dist/esm/EventsDeck.js +36 -36
- package/dist/esm/ExternalResources.js +26 -26
- package/dist/esm/Feature.js +3 -3
- package/dist/esm/ForbesHero.js +7 -7
- package/dist/esm/GridContent.js +31 -31
- package/dist/esm/GridHero.js +7 -7
- package/dist/esm/GroupDeck.js +9 -9
- package/dist/esm/HamMagazine.js +22 -22
- package/dist/esm/Hero.js +1 -1
- package/dist/esm/HorizontalArticleListing.js +25 -25
- package/dist/esm/HorizontalHero.js +1 -1
- package/dist/esm/IssueContentDeck.js +7 -7
- package/dist/esm/IssueDeck.js +10 -10
- package/dist/esm/IssueLanding.js +50 -50
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +15 -15
- package/dist/esm/MasterDeck.js +33 -33
- package/dist/esm/MediaSeriesLanding.js +14 -14
- package/dist/esm/NavDvm.js +8 -8
- package/dist/esm/NavMagazine.js +22 -22
- package/dist/esm/NavNative.js +27 -27
- package/dist/esm/NavNormal.js +8 -8
- package/dist/esm/OncliveHero.js +1 -1
- package/dist/esm/OncliveLargeHero.js +7 -7
- package/dist/esm/PageFilter.js +5 -5
- package/dist/esm/PartnerDetailListing.js +29 -29
- package/dist/esm/PopUpModal.js +5 -5
- package/dist/esm/PubSection.js +21 -21
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +2 -2
- package/dist/esm/PublicationLanding.js +51 -51
- package/dist/esm/QueueDeckExpanded.js +23 -23
- package/dist/esm/RecentNews.js +1 -1
- package/dist/esm/RelatedContent.js +29 -29
- package/dist/esm/RelatedTopicsDropdown.js +10 -10
- package/dist/esm/Search.js +5 -5
- package/dist/esm/Segment.js +7 -7
- package/dist/esm/SeriesListingDeck.js +12 -12
- package/dist/esm/{SeriesSlider-c324917a.js → SeriesSlider-00ad2992.js} +12 -12
- package/dist/esm/SideFooter.js +14 -14
- package/dist/esm/{SocialSearchComponent-116b1d5d.js → SocialSearchComponent-c3216d1a.js} +6 -6
- package/dist/esm/TaxonomyCard.js +5 -5
- package/dist/esm/TaxonomyDescription.js +25 -25
- package/dist/esm/TemplateNormal.js +20 -20
- package/dist/esm/ThumbnailCard.js +1 -1
- package/dist/esm/Ustream.js +7 -7
- package/dist/esm/VerticalHero.js +1 -1
- package/dist/esm/VideoProgramLandingPage.js +25 -25
- package/dist/esm/VideoSeriesCard.js +8 -8
- package/dist/esm/VideoSeriesFilter.js +8 -8
- package/dist/esm/VideoSeriesLandingPage.js +25 -25
- package/dist/esm/VideoSeriesListing.js +17 -17
- package/dist/esm/View.js +56 -152
- package/dist/esm/YahooHero.js +7 -7
- package/dist/esm/YoutubeGroup.js +19 -19
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-674f71ec.js} +1 -1
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-48516cd3.js} +8 -8
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-fd3054d0.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-8f409e54.js} +2 -2
- package/dist/esm/{_set-species-807b5286.js → _set-species-494ed292.js} +4 -4
- package/dist/esm/{_to-object-b50e61c3.js → _to-object-97770c52.js} +4 -4
- package/dist/esm/{asyncToGenerator-207adf34.js → asyncToGenerator-2bd4099a.js} +27 -27
- package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-d1d5ed02.js} +2 -2
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-fe54dc9f.js → define-property-ec6d528d.js} +6 -6
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-ea516b15.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-aa6068a3.js} +5 -5
- package/dist/esm/{extends-f076879e.js → extends-31d65aba.js} +7 -7
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getQuery.js +1 -1
- package/dist/esm/getRelatedArticle.js +10 -12
- package/dist/esm/getRootDocGroup.js +7 -7
- package/dist/esm/getSerializers.js +25 -25
- package/dist/esm/{getTargeting-9e21a02f.js → getTargeting-2d402d66.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-0dbff1d1.js → index-3f5c03b2.js} +5 -5
- package/dist/esm/{index-79cfd25c.js → index-ccb770c7.js} +4 -4
- package/dist/esm/{index-da683e94.js → index-da6ed052.js} +85 -85
- package/dist/esm/index.js +37 -37
- package/dist/esm/{inherits-f71787cf.js → inherits-5906fbea.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-a0b0c7a4.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ad27652f.js} +9 -57
- package/dist/esm/{main-b5c5aac1.js → main-1450d277.js} +103 -178
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-cdeaee08.js} +14 -14
- package/dist/esm/stringify-d4839bab.js +15 -0
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-fa2dcda7.js} +9 -9
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-a286cf0c.js → typeof-e9cea9e8.js} +34 -34
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-035980f3.js} +2 -2
- package/package.json +107 -107
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/stringify-59c8f690.js +0 -15
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _typeof } from './typeof-
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-2bd4099a.js';
|
|
2
|
+
import { _ as _typeof } from './typeof-e9cea9e8.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { m as moment } from './moment-bc12cb97.js';
|
|
5
5
|
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
@@ -7,22 +7,22 @@ import Breadcrumbs from './Breadcrumbs.js';
|
|
|
7
7
|
import MasterDeck from './MasterDeck.js';
|
|
8
8
|
import VideoSeriesCard from './VideoSeriesCard.js';
|
|
9
9
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import './es6.string.iterator-
|
|
11
|
-
import './_to-object-
|
|
12
|
-
import './web.dom.iterable-
|
|
10
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
11
|
+
import './_to-object-97770c52.js';
|
|
12
|
+
import './web.dom.iterable-035980f3.js';
|
|
13
13
|
import './_library-528f1934.js';
|
|
14
|
-
import './core.get-iterator-method-
|
|
15
|
-
import './_set-species-
|
|
16
|
-
import './_iter-detect-
|
|
17
|
-
import './_is-array-
|
|
18
|
-
import './_object-pie-
|
|
19
|
-
import './slicedToArray-
|
|
14
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
15
|
+
import './_set-species-494ed292.js';
|
|
16
|
+
import './_iter-detect-48516cd3.js';
|
|
17
|
+
import './_is-array-674f71ec.js';
|
|
18
|
+
import './_object-pie-33c40e79.js';
|
|
19
|
+
import './slicedToArray-cdeaee08.js';
|
|
20
20
|
import 'react-bootstrap/Breadcrumb';
|
|
21
|
-
import './toConsumableArray-
|
|
22
|
-
import './extends-
|
|
23
|
-
import './inherits-
|
|
24
|
-
import './_object-sap-
|
|
25
|
-
import './define-property-
|
|
21
|
+
import './toConsumableArray-fa2dcda7.js';
|
|
22
|
+
import './extends-31d65aba.js';
|
|
23
|
+
import './inherits-5906fbea.js';
|
|
24
|
+
import './_object-sap-fd3054d0.js';
|
|
25
|
+
import './define-property-ec6d528d.js';
|
|
26
26
|
import './index-888f9253.js';
|
|
27
27
|
import 'prop-types';
|
|
28
28
|
import 'react-bootstrap/Container';
|
|
@@ -30,21 +30,21 @@ import 'react-bootstrap/Row';
|
|
|
30
30
|
import 'react-bootstrap/Col';
|
|
31
31
|
import 'react-bootstrap/Card';
|
|
32
32
|
import 'next/router';
|
|
33
|
-
import './lodash-
|
|
34
|
-
import './debounce-
|
|
35
|
-
import './isSymbol-
|
|
36
|
-
import './toNumber-
|
|
33
|
+
import './lodash-ad27652f.js';
|
|
34
|
+
import './debounce-9207d8ee.js';
|
|
35
|
+
import './isSymbol-1981418f.js';
|
|
36
|
+
import './toNumber-2f7a84cd.js';
|
|
37
37
|
import './index.es-c6222053.js';
|
|
38
38
|
import './visibility-sensor-082c757b.js';
|
|
39
39
|
import 'react-dom';
|
|
40
|
-
import './index-
|
|
41
|
-
import './ADlgInfeed-
|
|
40
|
+
import './index-3f5c03b2.js';
|
|
41
|
+
import './ADlgInfeed-246a8787.js';
|
|
42
42
|
import './AdSlot.js';
|
|
43
43
|
import './Beam.js';
|
|
44
|
-
import './stringify-
|
|
44
|
+
import './stringify-d4839bab.js';
|
|
45
45
|
import './Segment.js';
|
|
46
|
-
import './main-
|
|
47
|
-
import './ADInfeed-
|
|
46
|
+
import './main-1450d277.js';
|
|
47
|
+
import './ADInfeed-c12cd1ce.js';
|
|
48
48
|
import './index-752d1dae.js';
|
|
49
49
|
import './style-inject.es-1f59c1d0.js';
|
|
50
50
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as _extends } from './extends-
|
|
2
|
-
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-
|
|
1
|
+
import { _ as _extends } from './extends-31d65aba.js';
|
|
2
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-5906fbea.js';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { l as lib_3 } from './index-888f9253.js';
|
|
5
5
|
import Container from 'react-bootstrap/Container';
|
|
@@ -8,30 +8,30 @@ import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
|
8
8
|
import { m as moment } from './moment-bc12cb97.js';
|
|
9
9
|
import { withRouter } from 'next/router';
|
|
10
10
|
import YoutubeGroup from './YoutubeGroup.js';
|
|
11
|
-
import { d as debounce_1 } from './debounce-
|
|
11
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
12
12
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
13
13
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
-
import './_to-object-
|
|
15
|
-
import './_object-pie-
|
|
16
|
-
import './es6.string.iterator-
|
|
17
|
-
import './_object-sap-
|
|
18
|
-
import './define-property-
|
|
19
|
-
import './typeof-
|
|
20
|
-
import './web.dom.iterable-
|
|
21
|
-
import './_is-array-
|
|
14
|
+
import './_to-object-97770c52.js';
|
|
15
|
+
import './_object-pie-33c40e79.js';
|
|
16
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
17
|
+
import './_object-sap-fd3054d0.js';
|
|
18
|
+
import './define-property-ec6d528d.js';
|
|
19
|
+
import './typeof-e9cea9e8.js';
|
|
20
|
+
import './web.dom.iterable-035980f3.js';
|
|
21
|
+
import './_is-array-674f71ec.js';
|
|
22
22
|
import './_library-528f1934.js';
|
|
23
23
|
import 'prop-types';
|
|
24
24
|
import 'react-dom';
|
|
25
25
|
import './iconBase-602d52fe.js';
|
|
26
|
-
import './slicedToArray-
|
|
27
|
-
import './core.get-iterator-method-
|
|
26
|
+
import './slicedToArray-cdeaee08.js';
|
|
27
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
28
28
|
import './index-c7e2ac95.js';
|
|
29
29
|
import './index-752d1dae.js';
|
|
30
30
|
import './smoothscroll-fa4e3f8c.js';
|
|
31
|
-
import './index-
|
|
32
|
-
import './main-
|
|
33
|
-
import './isSymbol-
|
|
34
|
-
import './toNumber-
|
|
31
|
+
import './index-3f5c03b2.js';
|
|
32
|
+
import './main-1450d277.js';
|
|
33
|
+
import './isSymbol-1981418f.js';
|
|
34
|
+
import './toNumber-2f7a84cd.js';
|
|
35
35
|
|
|
36
36
|
var VideoSeriesListing = function (_React$Component) {
|
|
37
37
|
_inherits(VideoSeriesListing, _React$Component);
|
package/dist/esm/View.js
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-
|
|
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
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-cdeaee08.js';
|
|
4
4
|
import React, { useState, useRef, useEffect } from 'react';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { useRouter } from 'next/router';
|
|
7
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-d4839bab.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-fa2dcda7.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-
|
|
11
|
-
import { m as
|
|
10
|
+
import { B as BlockContent } from './BlockContent-d8cd739c.js';
|
|
11
|
+
import { m as main_40 } from './main-1450d277.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
|
-
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-
|
|
16
|
+
import { I as InscreenSensor, r as renderAuthor, g as getSerializers } from './index-da6ed052.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
18
|
import DFPAdSlot from './AdSlot.js';
|
|
19
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
20
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-
|
|
19
|
+
import { S as SeriesSlider } from './SeriesSlider-00ad2992.js';
|
|
20
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-2d402d66.js';
|
|
21
21
|
import getKeywords from './getKeywords.js';
|
|
22
22
|
import urlFor from './urlFor.js';
|
|
23
|
-
import { _ as _typeof } from './typeof-
|
|
23
|
+
import { _ as _typeof } from './typeof-e9cea9e8.js';
|
|
24
24
|
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
25
25
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
26
26
|
import './index-752d1dae.js';
|
|
27
27
|
import { DiscussionEmbed } from 'disqus-react';
|
|
28
|
-
import { _ as _Object$keys } from './keys-
|
|
28
|
+
import { _ as _Object$keys } from './keys-a0b0c7a4.js';
|
|
29
29
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
30
30
|
import { l as lib_3 } from './index-888f9253.js';
|
|
31
31
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
32
32
|
import getQuery from './getQuery.js';
|
|
33
33
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
34
34
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
35
|
-
import './es6.string.iterator-
|
|
36
|
-
import './_to-object-
|
|
37
|
-
import './web.dom.iterable-
|
|
35
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
36
|
+
import './_to-object-97770c52.js';
|
|
37
|
+
import './web.dom.iterable-035980f3.js';
|
|
38
38
|
import './_library-528f1934.js';
|
|
39
|
-
import './core.get-iterator-method-
|
|
40
|
-
import './_set-species-
|
|
41
|
-
import './_iter-detect-
|
|
42
|
-
import './_object-pie-
|
|
39
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
40
|
+
import './_set-species-494ed292.js';
|
|
41
|
+
import './_iter-detect-48516cd3.js';
|
|
42
|
+
import './_object-pie-33c40e79.js';
|
|
43
43
|
import 'prop-types';
|
|
44
|
-
import './index-
|
|
44
|
+
import './index-3f5c03b2.js';
|
|
45
45
|
import 'react-bootstrap';
|
|
46
46
|
import './index-c7e2ac95.js';
|
|
47
47
|
import './util-3ab476bf.js';
|
|
@@ -50,22 +50,22 @@ import './Segment.js';
|
|
|
50
50
|
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
51
51
|
import './GroupDeck.js';
|
|
52
52
|
import './smoothscroll-fa4e3f8c.js';
|
|
53
|
-
import './_is-array-
|
|
54
|
-
import './_object-to-array-
|
|
53
|
+
import './_is-array-674f71ec.js';
|
|
54
|
+
import './_object-to-array-8f409e54.js';
|
|
55
55
|
import 'react-bootstrap/Pagination';
|
|
56
56
|
import './entities-932b50cf.js';
|
|
57
57
|
import 'react-bootstrap/Row';
|
|
58
58
|
import 'react-bootstrap/Col';
|
|
59
|
-
import './inherits-
|
|
60
|
-
import './_object-sap-
|
|
61
|
-
import './define-property-
|
|
59
|
+
import './inherits-5906fbea.js';
|
|
60
|
+
import './_object-sap-fd3054d0.js';
|
|
61
|
+
import './define-property-ec6d528d.js';
|
|
62
62
|
import './index.esm-3fdda599.js';
|
|
63
63
|
import './iconBase-602d52fe.js';
|
|
64
64
|
import 'react-bootstrap/Figure';
|
|
65
65
|
import 'react-share';
|
|
66
|
-
import './debounce-
|
|
67
|
-
import './isSymbol-
|
|
68
|
-
import './toNumber-
|
|
66
|
+
import './debounce-9207d8ee.js';
|
|
67
|
+
import './isSymbol-1981418f.js';
|
|
68
|
+
import './toNumber-2f7a84cd.js';
|
|
69
69
|
import 'react-dom';
|
|
70
70
|
import './index-db3bb315.js';
|
|
71
71
|
|
|
@@ -153,9 +153,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
153
153
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
154
154
|
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
155
155
|
!thumbnailUrl && React.createElement('p', {
|
|
156
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
156
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
157
157
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
158
|
-
|
|
158
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
159
159
|
'style',
|
|
160
160
|
{ jsx: 'true' },
|
|
161
161
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -334,7 +334,7 @@ var ISI = function ISI(props) {
|
|
|
334
334
|
);
|
|
335
335
|
};
|
|
336
336
|
|
|
337
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
337
|
+
var css = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: none;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n margin-bottom: 0.5rem;\r\n padding: 0;\r\n }\r\n .RelatedArticles-module_cardTitle__3P-Ib {\r\n font-size: 0.75rem;\r\n margin-bottom: 0;\r\n }\r\n}\r\n";
|
|
338
338
|
var styles = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
339
339
|
styleInject(css);
|
|
340
340
|
|
|
@@ -444,7 +444,6 @@ var Article = function Article(props) {
|
|
|
444
444
|
hideFBShare = _props$hideFBShare === undefined ? false : _props$hideFBShare,
|
|
445
445
|
_props$hidePinterestS = props.hidePinterestShare,
|
|
446
446
|
hidePinterestShare = _props$hidePinterestS === undefined ? false : _props$hidePinterestS;
|
|
447
|
-
props.useFullDocumentGroupPath;
|
|
448
447
|
var client = props.client,
|
|
449
448
|
pageview = props.pageview,
|
|
450
449
|
videoAccountIDs = props.videoAccountIDs,
|
|
@@ -1117,7 +1116,7 @@ var Article = function Article(props) {
|
|
|
1117
1116
|
React.createElement(
|
|
1118
1117
|
'div',
|
|
1119
1118
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1120
|
-
|
|
1119
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1121
1120
|
if (index === 0) {
|
|
1122
1121
|
return React.createElement(
|
|
1123
1122
|
'div',
|
|
@@ -1195,7 +1194,7 @@ var Article = function Article(props) {
|
|
|
1195
1194
|
})
|
|
1196
1195
|
)
|
|
1197
1196
|
),
|
|
1198
|
-
|
|
1197
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1199
1198
|
if (index > 0) {
|
|
1200
1199
|
return React.createElement(
|
|
1201
1200
|
'div',
|
|
@@ -1233,66 +1232,7 @@ var Article = function Article(props) {
|
|
|
1233
1232
|
}
|
|
1234
1233
|
};
|
|
1235
1234
|
|
|
1236
|
-
var _this
|
|
1237
|
-
|
|
1238
|
-
//consortium > woments-health-equality > internal
|
|
1239
|
-
var get_doc_group_path = function () {
|
|
1240
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(id, client) {
|
|
1241
|
-
var childPath = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
|
|
1242
|
-
var query, docGroup, path, parent_id;
|
|
1243
|
-
return regenerator.wrap(function _callee$(_context) {
|
|
1244
|
-
while (1) {
|
|
1245
|
-
switch (_context.prev = _context.next) {
|
|
1246
|
-
case 0:
|
|
1247
|
-
query = '*[_type == \'documentGroup\' && _id == \'' + id + '\'][0]';
|
|
1248
|
-
_context.next = 3;
|
|
1249
|
-
return client.fetch(query);
|
|
1250
|
-
|
|
1251
|
-
case 3:
|
|
1252
|
-
docGroup = _context.sent;
|
|
1253
|
-
|
|
1254
|
-
if (!(!docGroup || docGroup.length <= 0)) {
|
|
1255
|
-
_context.next = 6;
|
|
1256
|
-
break;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
return _context.abrupt('return', '');
|
|
1260
|
-
|
|
1261
|
-
case 6:
|
|
1262
|
-
path = childPath && childPath.includes(docGroup.identifier.current) ? '' : docGroup.identifier.current;
|
|
1263
|
-
|
|
1264
|
-
if (!docGroup.parent) {
|
|
1265
|
-
_context.next = 15;
|
|
1266
|
-
break;
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1269
|
-
parent_id = docGroup.parent._ref;
|
|
1270
|
-
_context.next = 11;
|
|
1271
|
-
return get_doc_group_path(parent_id, client, path);
|
|
1272
|
-
|
|
1273
|
-
case 11:
|
|
1274
|
-
_context.t0 = _context.sent;
|
|
1275
|
-
_context.t1 = _context.t0 + '/';
|
|
1276
|
-
_context.t2 = path;
|
|
1277
|
-
return _context.abrupt('return', _context.t1 + _context.t2);
|
|
1278
|
-
|
|
1279
|
-
case 15:
|
|
1280
|
-
return _context.abrupt('return', path);
|
|
1281
|
-
|
|
1282
|
-
case 16:
|
|
1283
|
-
case 'end':
|
|
1284
|
-
return _context.stop();
|
|
1285
|
-
}
|
|
1286
|
-
}
|
|
1287
|
-
}, _callee, _this$2);
|
|
1288
|
-
}));
|
|
1289
|
-
|
|
1290
|
-
return function get_doc_group_path(_x, _x2) {
|
|
1291
|
-
return _ref.apply(this, arguments);
|
|
1292
|
-
};
|
|
1293
|
-
}();
|
|
1294
|
-
|
|
1295
|
-
var _this$1 = undefined;
|
|
1235
|
+
var _this = undefined;
|
|
1296
1236
|
|
|
1297
1237
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1298
1238
|
var _props$prevUrl = props.prevUrl,
|
|
@@ -1306,9 +1246,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1306
1246
|
_props$authorPrefix = props.authorPrefix,
|
|
1307
1247
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
1308
1248
|
showRelatedArticles = props.showRelatedArticles,
|
|
1309
|
-
canonicalTag = props.canonicalTag
|
|
1310
|
-
_props$useFullDocumen = props.useFullDocumentGroupPath,
|
|
1311
|
-
useFullDocumentGroupPath = _props$useFullDocumen === undefined ? false : _props$useFullDocumen;
|
|
1249
|
+
canonicalTag = props.canonicalTag;
|
|
1312
1250
|
|
|
1313
1251
|
|
|
1314
1252
|
var firstArticle = function firstArticle() {
|
|
@@ -1329,7 +1267,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1329
1267
|
});
|
|
1330
1268
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1331
1269
|
|
|
1332
|
-
if (!
|
|
1270
|
+
if (!main_40) {
|
|
1333
1271
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1334
1272
|
if (window.googletag && googletag.pubadsReady) {
|
|
1335
1273
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1347,7 +1285,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1347
1285
|
});
|
|
1348
1286
|
}
|
|
1349
1287
|
//Refresh leaderboard ad on mobile
|
|
1350
|
-
if (
|
|
1288
|
+
if (main_40) {
|
|
1351
1289
|
var leaderboardSlotId = '';
|
|
1352
1290
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1353
1291
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1410,13 +1348,13 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1410
1348
|
|
|
1411
1349
|
var loadmore = function () {
|
|
1412
1350
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
|
|
1413
|
-
var index, article,
|
|
1351
|
+
var index, article, startingIndex, endingIndex, targeting;
|
|
1414
1352
|
return regenerator.wrap(function _callee$(_context) {
|
|
1415
1353
|
while (1) {
|
|
1416
1354
|
switch (_context.prev = _context.next) {
|
|
1417
1355
|
case 0:
|
|
1418
1356
|
if (!(queueData && queueData.length < maxListLength)) {
|
|
1419
|
-
_context.next =
|
|
1357
|
+
_context.next = 27;
|
|
1420
1358
|
break;
|
|
1421
1359
|
}
|
|
1422
1360
|
|
|
@@ -1439,55 +1377,40 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1439
1377
|
|
|
1440
1378
|
case 12:
|
|
1441
1379
|
if (!(article && article._id)) {
|
|
1442
|
-
_context.next =
|
|
1443
|
-
break;
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
if (!(useFullDocumentGroupPath && article.documentGroup)) {
|
|
1447
|
-
_context.next = 19;
|
|
1380
|
+
_context.next = 27;
|
|
1448
1381
|
break;
|
|
1449
1382
|
}
|
|
1450
1383
|
|
|
1451
|
-
_context.next = 16;
|
|
1452
|
-
return get_doc_group_path(article.documentGroup._id, props.client);
|
|
1453
|
-
|
|
1454
|
-
case 16:
|
|
1455
|
-
newDocPath = _context.sent;
|
|
1456
|
-
|
|
1457
|
-
if (newDocPath.indexOf('/') === 0) newDocPath = newDocPath.substring(1);
|
|
1458
|
-
article.documentGroup.path = newDocPath;
|
|
1459
|
-
|
|
1460
|
-
case 19:
|
|
1461
1384
|
//query next 4 related article without repeating previous 4 related articles
|
|
1462
1385
|
startingIndex = queueData.length + 1;
|
|
1463
1386
|
endingIndex = startingIndex + 2;
|
|
1464
|
-
_context.prev =
|
|
1465
|
-
_context.next =
|
|
1387
|
+
_context.prev = 15;
|
|
1388
|
+
_context.next = 18;
|
|
1466
1389
|
return getRelatedArticle(null, props.client, props.article, prevUrl, startingIndex + '..' + endingIndex);
|
|
1467
1390
|
|
|
1468
|
-
case
|
|
1391
|
+
case 18:
|
|
1469
1392
|
article.relatedArticle = _context.sent;
|
|
1470
|
-
_context.next =
|
|
1393
|
+
_context.next = 24;
|
|
1471
1394
|
break;
|
|
1472
1395
|
|
|
1473
|
-
case
|
|
1474
|
-
_context.prev =
|
|
1475
|
-
_context.t1 = _context['catch'](
|
|
1396
|
+
case 21:
|
|
1397
|
+
_context.prev = 21;
|
|
1398
|
+
_context.t1 = _context['catch'](15);
|
|
1476
1399
|
|
|
1477
1400
|
console.error(_context.t1);
|
|
1478
1401
|
|
|
1479
|
-
case
|
|
1402
|
+
case 24:
|
|
1480
1403
|
targeting = getTargeting({ article: article, cpModificationRequired: cpModificationRequired, prevUrl: prevUrl });
|
|
1481
1404
|
|
|
1482
1405
|
article.Ads = Ads.getRightItems(targeting);
|
|
1483
1406
|
setQueueData([].concat(_toConsumableArray(queueData), [article]));
|
|
1484
1407
|
|
|
1485
|
-
case
|
|
1408
|
+
case 27:
|
|
1486
1409
|
case 'end':
|
|
1487
1410
|
return _context.stop();
|
|
1488
1411
|
}
|
|
1489
1412
|
}
|
|
1490
|
-
}, _callee, _this
|
|
1413
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1491
1414
|
}));
|
|
1492
1415
|
|
|
1493
1416
|
return function loadmore() {
|
|
@@ -1565,7 +1488,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1565
1488
|
);
|
|
1566
1489
|
};
|
|
1567
1490
|
|
|
1568
|
-
var _this = undefined;
|
|
1491
|
+
var _this$1 = undefined;
|
|
1569
1492
|
|
|
1570
1493
|
var View = function View(props) {
|
|
1571
1494
|
var router = useRouter();
|
|
@@ -1584,9 +1507,7 @@ var View = function View(props) {
|
|
|
1584
1507
|
_props$canonicalTag = props.canonicalTag,
|
|
1585
1508
|
canonicalTag = _props$canonicalTag === undefined ? true : _props$canonicalTag,
|
|
1586
1509
|
_props$infiniteScroll = props.infiniteScrollFlag,
|
|
1587
|
-
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll
|
|
1588
|
-
_props$useFullDocumen = props.useFullDocumentGroupPath,
|
|
1589
|
-
useFullDocumentGroupPath = _props$useFullDocumen === undefined ? false : _props$useFullDocumen;
|
|
1510
|
+
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1590
1511
|
var _props$article = props.article,
|
|
1591
1512
|
_props$article$passwo = _props$article.passwordLock,
|
|
1592
1513
|
passwordLock = _props$article$passwo === undefined ? false : _props$article$passwo;
|
|
@@ -1758,8 +1679,7 @@ var View = function View(props) {
|
|
|
1758
1679
|
checkSponsered: true,
|
|
1759
1680
|
Ads: props.WAds,
|
|
1760
1681
|
onVote: function onVote() {},
|
|
1761
|
-
sponsoredTaxonomies: []
|
|
1762
|
-
useFullDocumentGroupPath: useFullDocumentGroupPath
|
|
1682
|
+
sponsoredTaxonomies: []
|
|
1763
1683
|
}, props))
|
|
1764
1684
|
);
|
|
1765
1685
|
};
|
|
@@ -1768,9 +1688,8 @@ var View = function View(props) {
|
|
|
1768
1688
|
View.returnGetInitialProps = function () {
|
|
1769
1689
|
var _ref = _asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(url, prevUrl, seriesVid, client, sao) {
|
|
1770
1690
|
var context = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : null;
|
|
1771
|
-
var useFullDocumentGroupPath = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : false;
|
|
1772
1691
|
|
|
1773
|
-
var article, relatedArticleQuery, sliderData, statusCode, sliderArticles, _context$query$series, seriesArticle, sponsoredFlag
|
|
1692
|
+
var article, relatedArticleQuery, sliderData, statusCode, sliderArticles, _context$query$series, seriesArticle, sponsoredFlag;
|
|
1774
1693
|
|
|
1775
1694
|
return regenerator.wrap(function _callee$(_context) {
|
|
1776
1695
|
while (1) {
|
|
@@ -1874,21 +1793,6 @@ View.returnGetInitialProps = function () {
|
|
|
1874
1793
|
article.relatedArticle = _context.sent;
|
|
1875
1794
|
|
|
1876
1795
|
case 27:
|
|
1877
|
-
if (!(useFullDocumentGroupPath && article.documentGroup)) {
|
|
1878
|
-
_context.next = 33;
|
|
1879
|
-
break;
|
|
1880
|
-
}
|
|
1881
|
-
|
|
1882
|
-
_context.next = 30;
|
|
1883
|
-
return get_doc_group_path(article.documentGroup._id, client);
|
|
1884
|
-
|
|
1885
|
-
case 30:
|
|
1886
|
-
newDocPath = _context.sent;
|
|
1887
|
-
|
|
1888
|
-
if (newDocPath.indexOf('/') === 0) newDocPath = newDocPath.substring(1);
|
|
1889
|
-
article.documentGroup.path = newDocPath;
|
|
1890
|
-
|
|
1891
|
-
case 33:
|
|
1892
1796
|
return _context.abrupt('return', {
|
|
1893
1797
|
url: url,
|
|
1894
1798
|
sao: sao,
|
|
@@ -1900,12 +1804,12 @@ View.returnGetInitialProps = function () {
|
|
|
1900
1804
|
sponsoredFlag: sponsoredFlag
|
|
1901
1805
|
});
|
|
1902
1806
|
|
|
1903
|
-
case
|
|
1807
|
+
case 28:
|
|
1904
1808
|
case 'end':
|
|
1905
1809
|
return _context.stop();
|
|
1906
1810
|
}
|
|
1907
1811
|
}
|
|
1908
|
-
}, _callee, _this);
|
|
1812
|
+
}, _callee, _this$1);
|
|
1909
1813
|
}));
|
|
1910
1814
|
|
|
1911
1815
|
return function (_x, _x2, _x3, _x4, _x5) {
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import { i as imageUrlBuilder } from './index-
|
|
3
|
+
import { i as imageUrlBuilder } from './index-3f5c03b2.js';
|
|
4
4
|
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
-
import { A as AuthorComponent } from './AuthorComponent-
|
|
5
|
+
import { A as AuthorComponent } from './AuthorComponent-c7ff069f.js';
|
|
6
6
|
import { L as LazyLoad } from './index-752d1dae.js';
|
|
7
7
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './slicedToArray-
|
|
9
|
-
import './web.dom.iterable-
|
|
10
|
-
import './es6.string.iterator-
|
|
11
|
-
import './_to-object-
|
|
12
|
-
import './core.get-iterator-method-
|
|
8
|
+
import './slicedToArray-cdeaee08.js';
|
|
9
|
+
import './web.dom.iterable-035980f3.js';
|
|
10
|
+
import './es6.string.iterator-aa6068a3.js';
|
|
11
|
+
import './_to-object-97770c52.js';
|
|
12
|
+
import './core.get-iterator-method-d1d5ed02.js';
|
|
13
13
|
import 'react-dom';
|
|
14
14
|
import 'prop-types';
|
|
15
15
|
|