@mjhls/mjh-framework 1.0.847 → 1.0.849
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +23 -24
- package/dist/cjs/AD300x250x600.js +23 -24
- package/dist/cjs/AD728x90.js +26 -27
- package/dist/cjs/ADFloatingFooter.js +22 -23
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +22 -23
- package/dist/cjs/{ADInfeed-9d179b24.js → ADInfeed-86e987a0.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +22 -23
- package/dist/cjs/ADSponsoredResources.js +22 -23
- package/dist/cjs/ADWebcast.js +22 -23
- package/dist/cjs/ADWelcome.js +19 -20
- package/dist/cjs/{ADlgInfeed-e1ba988c.js → ADlgInfeed-5d6f91d7.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +23 -24
- package/dist/cjs/AdSlotsProvider.js +13 -14
- package/dist/cjs/AlgoliaSearch.js +30 -14111
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +31 -32
- package/dist/cjs/ArticleSeriesListing.js +32 -33
- package/dist/cjs/Auth.js +348 -484
- package/dist/cjs/AuthWrapper.js +10 -587
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-ac8972ce.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +24 -25
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +32 -33
- package/dist/cjs/ConferenceArticleCard.js +7 -7
- package/dist/cjs/DeckContent.js +33 -34
- package/dist/cjs/DeckQueue.js +30 -31
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-0bf098b5.js} +14 -15
- package/dist/cjs/EventsDeck.js +28 -28
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +46 -47
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +47 -47
- package/dist/cjs/HorizontalHero.js +4 -4
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +16 -16
- package/dist/cjs/IssueLanding.js +56 -56
- package/dist/cjs/LeftNav.js +21 -22
- package/dist/cjs/MasterDeck.js +32 -33
- package/dist/cjs/MediaSeriesLanding.js +842 -941
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +30 -30
- package/dist/cjs/NavNative.js +32 -32
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +1257 -60
- package/dist/cjs/PdfDownload.js +1 -1
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +34 -35
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +28 -28
- package/dist/cjs/QueueDeckExpanded.js +37 -38
- package/dist/cjs/RecentNews.js +3 -3
- package/dist/cjs/RelatedContent.js +7 -7
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +19 -20
- package/dist/cjs/{SeriesSlider-cbab9f0f.js → SeriesSlider-60fa1342.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +15 -15
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-19548e2a.js} +10 -10
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +46 -47
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +13 -13
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +37 -38
- package/dist/cjs/VideoSeriesListing.js +32 -33
- package/dist/cjs/View.js +140 -97
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +22 -22
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.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-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.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-cc0bbaa4.js} +6 -6
- package/dist/cjs/{extends-29bdbc6d.js → extends-60837c34.js} +7 -8
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getQuery.js +2 -2
- package/dist/cjs/getRelatedArticle.js +71 -135
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +46 -46
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-3e45e4d4.js} +17 -8
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/{index-fc2f1ca2.js → index-44481153.js} +488 -42
- package/dist/cjs/{index-572bb6bc.js → index-80e98193.js} +165 -415
- package/dist/cjs/{index-f86bb269.js → index-99edf08a.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-3ffa049c.js} +1 -1
- package/dist/cjs/index.js +137 -138
- package/dist/cjs/{inherits-c2065b95.js → inherits-87492b40.js} +19 -22
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/{main-025fdc78.js → main-7b5e57b0.js} +159 -234
- package/dist/cjs/{moment-aca40de1.js → moment-ca3bd9fb.js} +1 -1
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-9d7f610f.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +1 -1
- package/dist/esm/AD300x250.js +23 -24
- package/dist/esm/AD300x250x600.js +23 -24
- package/dist/esm/AD728x90.js +26 -27
- package/dist/esm/ADFloatingFooter.js +22 -23
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +22 -23
- package/dist/esm/{ADInfeed-f20eb524.js → ADInfeed-4096aff2.js} +4 -4
- package/dist/esm/ADSkyscraper.js +22 -23
- package/dist/esm/ADSponsoredResources.js +22 -23
- package/dist/esm/ADWebcast.js +22 -23
- package/dist/esm/ADWelcome.js +19 -20
- package/dist/esm/{ADlgInfeed-c85a91b1.js → ADlgInfeed-8e4fcfbd.js} +4 -4
- package/dist/esm/AccordionPanel.js +8 -8
- package/dist/esm/AdSlot.js +23 -24
- package/dist/esm/AdSlotsProvider.js +13 -14
- package/dist/esm/AlgoliaSearch.js +26 -14107
- package/dist/esm/AlphabeticList.js +10 -10
- package/dist/esm/ArticleCarousel.js +17 -17
- package/dist/esm/ArticleProgramLandingPage.js +50 -50
- package/dist/esm/ArticleSeriesLandingPage.js +31 -32
- package/dist/esm/ArticleSeriesListing.js +32 -33
- package/dist/esm/Auth.js +348 -484
- package/dist/esm/AuthWrapper.js +9 -587
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-8ffd4679.js} +1 -1
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-d05b5b23.js} +34 -34
- package/dist/esm/Breadcrumbs.js +7 -7
- package/dist/esm/CMEDeck.js +24 -25
- package/dist/esm/Column2.js +16 -16
- package/dist/esm/Column3.js +32 -33
- package/dist/esm/ConferenceArticleCard.js +7 -7
- package/dist/esm/DeckContent.js +33 -34
- package/dist/esm/DeckQueue.js +30 -31
- package/dist/esm/{Dfp-43f121ff.js → Dfp-85c9513e.js} +14 -15
- package/dist/esm/EventsDeck.js +26 -26
- package/dist/esm/ExternalResources.js +47 -47
- package/dist/esm/Feature.js +4 -4
- package/dist/esm/ForbesHero.js +12 -12
- package/dist/esm/GridContent.js +46 -47
- package/dist/esm/GridHero.js +13 -13
- package/dist/esm/GroupDeck.js +14 -14
- package/dist/esm/HamMagazine.js +27 -27
- package/dist/esm/Hero.js +4 -4
- package/dist/esm/HighlightenVideo.js +2 -2
- package/dist/esm/HorizontalArticleListing.js +47 -47
- package/dist/esm/HorizontalHero.js +4 -4
- package/dist/esm/IssueContentDeck.js +13 -13
- package/dist/esm/IssueDeck.js +15 -15
- package/dist/esm/IssueLanding.js +56 -56
- package/dist/esm/LeftNav.js +21 -22
- package/dist/esm/MasterDeck.js +32 -33
- package/dist/esm/MediaSeriesLanding.js +577 -676
- package/dist/esm/NavDvm.js +13 -13
- package/dist/esm/NavMagazine.js +30 -30
- package/dist/esm/NavNative.js +30 -30
- package/dist/esm/OncliveHero.js +4 -4
- package/dist/esm/OncliveLargeHero.js +13 -13
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +1255 -59
- package/dist/esm/PdfDownload.js +1 -1
- package/dist/esm/PopUpModal.js +6 -6
- package/dist/esm/PubSection.js +34 -35
- package/dist/esm/PubToc.js +8 -8
- package/dist/esm/PublicationDeck.js +7 -7
- package/dist/esm/PublicationLanding.js +27 -27
- package/dist/esm/QueueDeckExpanded.js +37 -38
- package/dist/esm/RecentNews.js +3 -3
- package/dist/esm/RelatedContent.js +7 -7
- package/dist/esm/Search.js +7 -7
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +19 -20
- package/dist/esm/{SeriesSlider-5c62a578.js → SeriesSlider-05ecb544.js} +10 -10
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +15 -15
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-47815365.js} +9 -9
- package/dist/esm/TaxonomyCard.js +10 -10
- package/dist/esm/TaxonomyDescription.js +46 -46
- package/dist/esm/TemplateNormal.js +46 -47
- package/dist/esm/ThumbnailCard.js +7 -7
- package/dist/esm/Ustream.js +13 -13
- package/dist/esm/VerticalHero.js +3 -3
- package/dist/esm/VideoProgramLandingPage.js +51 -51
- package/dist/esm/VideoSeriesCard.js +13 -13
- package/dist/esm/VideoSeriesFilter.js +9 -9
- package/dist/esm/VideoSeriesLandingPage.js +37 -38
- package/dist/esm/VideoSeriesListing.js +32 -33
- package/dist/esm/View.js +139 -96
- package/dist/esm/YahooHero.js +15 -15
- package/dist/esm/YoutubeGroup.js +22 -22
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.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-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
- package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
- package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.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-c990c18c.js} +7 -7
- package/dist/esm/{extends-60e0e1c6.js → extends-eb69e8ac.js} +8 -8
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getQuery.js +2 -2
- package/dist/esm/getRelatedArticle.js +71 -135
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +46 -46
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-9cb7e014.js} +17 -8
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-2446af28.js → index-1819118a.js} +487 -41
- package/dist/esm/{index-aa0e654d.js → index-295b6942.js} +160 -411
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-35bdcc81.js → index-6c12bdd5.js} +6 -6
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.esm-8016b507.js → index.esm-8ee5ff72.js} +1 -1
- package/dist/esm/index.js +118 -119
- package/dist/esm/{inherits-a41fe93f.js → inherits-0d8cda6e.js} +20 -20
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/{main-b5c5aac1.js → main-747e7d25.js} +153 -228
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-3822f1ce.js} +16 -16
- package/dist/esm/{slicedToArray-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-4330ccdc.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-a286cf0c.js → typeof-af9c50d8.js} +35 -35
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +1 -1
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-8041a4eb.js +0 -99
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-67e1773f.js +0 -94
- package/dist/esm/stringify-59c8f690.js +0 -15
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-4abff0b1.js} +1 -1
|
@@ -1,53 +1,52 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
-
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
5
|
-
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
6
|
-
import Breadcrumbs from './Breadcrumbs.js';
|
|
7
|
-
import MasterDeck from './MasterDeck.js';
|
|
8
|
-
import VideoSeriesCard from './VideoSeriesCard.js';
|
|
9
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
13
4
|
import './_library-528f1934.js';
|
|
14
|
-
import './
|
|
15
|
-
import './
|
|
16
|
-
import './
|
|
17
|
-
import './_object-pie-
|
|
18
|
-
import './
|
|
19
|
-
import '
|
|
20
|
-
import './
|
|
21
|
-
import './
|
|
22
|
-
import './
|
|
23
|
-
import './
|
|
24
|
-
import './
|
|
25
|
-
import '
|
|
26
|
-
import './
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import './extends-eb69e8ac.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-0d8cda6e.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React from 'react';
|
|
17
|
+
import './index-1819118a.js';
|
|
27
18
|
import 'prop-types';
|
|
28
19
|
import 'react-bootstrap/Container';
|
|
29
20
|
import 'react-bootstrap/Row';
|
|
30
21
|
import 'react-bootstrap/Col';
|
|
31
22
|
import 'react-bootstrap/Card';
|
|
23
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
32
24
|
import 'next/router';
|
|
33
|
-
import './
|
|
34
|
-
import './debounce-
|
|
35
|
-
import './
|
|
36
|
-
import './toNumber-5aeba6e7.js';
|
|
25
|
+
import './isSymbol-1981418f.js';
|
|
26
|
+
import './debounce-9207d8ee.js';
|
|
27
|
+
import './toNumber-2f7a84cd.js';
|
|
37
28
|
import './index.es-c6222053.js';
|
|
38
|
-
import './visibility-sensor-f40c2564.js';
|
|
39
29
|
import 'react-dom';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './AdSlot.js';
|
|
43
|
-
import './Beam.js';
|
|
44
|
-
import './stringify-59c8f690.js';
|
|
45
|
-
import './Segment.js';
|
|
46
|
-
import './main-b5c5aac1.js';
|
|
47
|
-
import './ADInfeed-f20eb524.js';
|
|
48
|
-
import './index-35bdcc81.js';
|
|
30
|
+
import './visibility-sensor-f40c2564.js';
|
|
31
|
+
import './index-51a80699.js';
|
|
49
32
|
import './urlFor.js';
|
|
33
|
+
import './index-6c12bdd5.js';
|
|
34
|
+
import './main-747e7d25.js';
|
|
35
|
+
import './slicedToArray-641f241f.js';
|
|
36
|
+
import './stringify-4330ccdc.js';
|
|
37
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
38
|
+
import './Segment.js';
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import './AdSlot.js';
|
|
41
|
+
import './ADInfeed-4096aff2.js';
|
|
42
|
+
import './lodash-ec8c6b48.js';
|
|
43
|
+
import './ADlgInfeed-8e4fcfbd.js';
|
|
44
|
+
import { g as getYoutubeId } from './index-c7e2ac95.js';
|
|
45
|
+
import MasterDeck from './MasterDeck.js';
|
|
46
|
+
import 'react-bootstrap/Breadcrumb';
|
|
47
|
+
import Breadcrumbs from './Breadcrumbs.js';
|
|
50
48
|
import './style-inject.es-1f59c1d0.js';
|
|
49
|
+
import VideoSeriesCard from './VideoSeriesCard.js';
|
|
51
50
|
|
|
52
51
|
var _this = undefined;
|
|
53
52
|
|
|
@@ -1,39 +1,38 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
1
|
+
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './_library-528f1934.js';
|
|
5
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends } from './extends-eb69e8ac.js';
|
|
8
|
+
import './_object-sap-964b6feb.js';
|
|
9
|
+
import { _ as _inherits, a as _classCallCheck, b as _possibleConstructorReturn, c as _Object$getPrototypeOf, d as _createClass } from './inherits-0d8cda6e.js';
|
|
10
|
+
import './define-property-8af5f002.js';
|
|
11
|
+
import './web.dom.iterable-4439f05a.js';
|
|
12
|
+
import './typeof-af9c50d8.js';
|
|
13
|
+
import './_is-array-58e95429.js';
|
|
3
14
|
import React from 'react';
|
|
4
|
-
import { l as lib_3 } from './index-
|
|
15
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
16
|
+
import 'prop-types';
|
|
5
17
|
import Container from 'react-bootstrap/Container';
|
|
6
|
-
import {
|
|
7
|
-
import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
8
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
18
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
9
19
|
import { withRouter } from 'next/router';
|
|
10
|
-
import
|
|
11
|
-
import { d as debounce_1 } from './debounce-
|
|
20
|
+
import './isSymbol-1981418f.js';
|
|
21
|
+
import { d as debounce_1 } from './debounce-9207d8ee.js';
|
|
22
|
+
import './toNumber-2f7a84cd.js';
|
|
12
23
|
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
13
|
-
import './_commonjsHelpers-0c4b6f40.js';
|
|
14
|
-
import './_to-object-b50e61c3.js';
|
|
15
|
-
import './_object-pie-133f504a.js';
|
|
16
|
-
import './es6.string.iterator-bc33758b.js';
|
|
17
|
-
import './_object-sap-f353c2a9.js';
|
|
18
|
-
import './define-property-fe54dc9f.js';
|
|
19
|
-
import './typeof-a286cf0c.js';
|
|
20
|
-
import './web.dom.iterable-4109ff68.js';
|
|
21
|
-
import './_is-array-3e99e06e.js';
|
|
22
|
-
import './_library-528f1934.js';
|
|
23
|
-
import './events-6c3a7a63.js';
|
|
24
|
-
import 'prop-types';
|
|
25
24
|
import 'react-dom';
|
|
26
|
-
import './
|
|
27
|
-
import './
|
|
28
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
29
|
-
import './index-c7e2ac95.js';
|
|
30
|
-
import './index-35bdcc81.js';
|
|
31
|
-
import './smoothscroll-fa4e3f8c.js';
|
|
25
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
26
|
+
import './index-51a80699.js';
|
|
32
27
|
import './urlFor.js';
|
|
33
|
-
import './index-
|
|
34
|
-
import './main-
|
|
35
|
-
import './
|
|
36
|
-
import './
|
|
28
|
+
import './index-6c12bdd5.js';
|
|
29
|
+
import './main-747e7d25.js';
|
|
30
|
+
import './slicedToArray-641f241f.js';
|
|
31
|
+
import './index-c7e2ac95.js';
|
|
32
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
33
|
+
import YoutubeGroup from './YoutubeGroup.js';
|
|
34
|
+
import './iconBase-602d52fe.js';
|
|
35
|
+
import { I as IoIosArrowForward } from './index.esm-3fdda599.js';
|
|
37
36
|
|
|
38
37
|
var VideoSeriesListing = function (_React$Component) {
|
|
39
38
|
_inherits(VideoSeriesListing, _React$Component);
|
|
@@ -98,9 +97,9 @@ var VideoSeriesListing = function (_React$Component) {
|
|
|
98
97
|
}, 0), _this.loadData = function () {
|
|
99
98
|
var _this$state = _this.state,
|
|
100
99
|
from = _this$state.from,
|
|
101
|
-
to = _this$state.to
|
|
102
|
-
_this$state.data
|
|
103
|
-
|
|
100
|
+
to = _this$state.to,
|
|
101
|
+
data = _this$state.data,
|
|
102
|
+
query = _this$state.query,
|
|
104
103
|
page = _this$state.page;
|
|
105
104
|
var client = _this.props.client;
|
|
106
105
|
//this.changePageNumber(page)
|
package/dist/esm/View.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-60e0e1c6.js';
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
4
|
-
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
|
-
import Head from 'next/head';
|
|
6
|
-
import { useRouter } from 'next/router';
|
|
7
|
-
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
9
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
11
|
-
import { m as main_43 } from './main-b5c5aac1.js';
|
|
12
|
-
import 'react-bootstrap/Dropdown';
|
|
13
|
-
import Form from 'react-bootstrap/Form';
|
|
14
|
-
import FormControl from 'react-bootstrap/FormControl';
|
|
15
|
-
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
17
|
-
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-aa0e654d.js';
|
|
19
|
-
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-5c62a578.js';
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-68291ce9.js';
|
|
22
|
-
import getKeywords from './getKeywords.js';
|
|
23
|
-
import urlFor from './urlFor.js';
|
|
24
|
-
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
25
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
26
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
-
import './index-35bdcc81.js';
|
|
28
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
-
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
30
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
-
import { l as lib_3 } from './index-2446af28.js';
|
|
32
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
|
-
import getQuery from './getQuery.js';
|
|
34
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
35
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
39
4
|
import './_library-528f1934.js';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import { _ as _extends, a as _Object$assign } from './extends-eb69e8ac.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-0d8cda6e.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
43
18
|
import 'prop-types';
|
|
44
|
-
import '
|
|
19
|
+
import 'react-bootstrap/Row';
|
|
20
|
+
import 'react-bootstrap/Col';
|
|
21
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
22
|
+
import { useRouter } from 'next/router';
|
|
23
|
+
import './isSymbol-1981418f.js';
|
|
24
|
+
import './debounce-9207d8ee.js';
|
|
25
|
+
import './toNumber-2f7a84cd.js';
|
|
26
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
45
27
|
import 'react-dom';
|
|
46
|
-
import '
|
|
47
|
-
import '
|
|
48
|
-
import './
|
|
49
|
-
import './
|
|
50
|
-
import './
|
|
28
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
29
|
+
import './index-51a80699.js';
|
|
30
|
+
import urlFor from './urlFor.js';
|
|
31
|
+
import './index-6c12bdd5.js';
|
|
32
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
33
|
+
import './entities-7cc3bf45.js';
|
|
34
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
35
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
36
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
51
37
|
import './Segment.js';
|
|
52
|
-
import './
|
|
38
|
+
import './Beam.js';
|
|
39
|
+
import DFPAdSlot from './AdSlot.js';
|
|
40
|
+
import Button from 'react-bootstrap/Button';
|
|
41
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
42
|
+
import './index-c7e2ac95.js';
|
|
43
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
53
44
|
import './GroupDeck.js';
|
|
54
|
-
import '
|
|
55
|
-
import './_is-array-3e99e06e.js';
|
|
56
|
-
import './_object-to-array-0f197f89.js';
|
|
57
|
-
import 'react-bootstrap/Pagination';
|
|
58
|
-
import './entities-932b50cf.js';
|
|
59
|
-
import 'react-bootstrap/Row';
|
|
60
|
-
import 'react-bootstrap/Col';
|
|
61
|
-
import './inherits-a41fe93f.js';
|
|
62
|
-
import './_object-sap-f353c2a9.js';
|
|
63
|
-
import './define-property-fe54dc9f.js';
|
|
64
|
-
import './index.esm-3fdda599.js';
|
|
45
|
+
import 'react-bootstrap';
|
|
65
46
|
import './iconBase-602d52fe.js';
|
|
47
|
+
import './index.esm-3fdda599.js';
|
|
48
|
+
import { r as renderAuthor, g as getSerializers } from './index-295b6942.js';
|
|
49
|
+
import './util-7700fc59.js';
|
|
50
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
51
|
+
import Head from 'next/head';
|
|
52
|
+
import 'react-share';
|
|
53
|
+
import SocialShare from './SocialShare.js';
|
|
54
|
+
import './_object-to-array-7e804fce.js';
|
|
55
|
+
import 'react-bootstrap/Pagination';
|
|
66
56
|
import 'react-bootstrap/Figure';
|
|
67
|
-
import '
|
|
68
|
-
import '
|
|
69
|
-
import '
|
|
70
|
-
import './
|
|
57
|
+
import 'react-script-tag';
|
|
58
|
+
import Form from 'react-bootstrap/Form';
|
|
59
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
60
|
+
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
61
|
+
import 'react-bootstrap/Dropdown';
|
|
62
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
63
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
71
64
|
import './index-db3bb315.js';
|
|
65
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
|
+
import getQuery from './getQuery.js';
|
|
67
|
+
import { S as SeriesSlider } from './SeriesSlider-05ecb544.js';
|
|
68
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-9cb7e014.js';
|
|
69
|
+
import getKeywords from './getKeywords.js';
|
|
70
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
71
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
72
72
|
|
|
73
73
|
var getArticleSummary = function getArticleSummary(article) {
|
|
74
74
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -154,9 +154,9 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
154
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
155
155
|
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
156
|
!thumbnailUrl && React.createElement('p', {
|
|
157
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
157
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
158
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
159
|
-
|
|
159
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
160
160
|
'style',
|
|
161
161
|
{ jsx: 'true' },
|
|
162
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -615,9 +615,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
615
615
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
616
616
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
617
617
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
618
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
619
|
-
props.active
|
|
620
|
-
|
|
618
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh,
|
|
619
|
+
active = props.active,
|
|
620
|
+
containerHeight = props.containerHeight,
|
|
621
621
|
_props$refreshFlag = props.refreshFlag,
|
|
622
622
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
623
623
|
disqusConfig = props.disqusConfig,
|
|
@@ -677,9 +677,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
677
677
|
setArticleBody = _useState10[1];
|
|
678
678
|
|
|
679
679
|
var _useState11 = useState(true),
|
|
680
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
681
|
-
_useState12[0]
|
|
682
|
-
|
|
680
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
681
|
+
previewAd = _useState12[0],
|
|
682
|
+
setPreviewAd = _useState12[1];
|
|
683
683
|
|
|
684
684
|
useEffect(function () {
|
|
685
685
|
var path = window && window.location && window.location.search;
|
|
@@ -1050,8 +1050,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1050
1050
|
shareSubject = shareOptions.shareSubject,
|
|
1051
1051
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
1052
1052
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
1053
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
1054
|
-
shareOptions.shareSiteTitle;
|
|
1053
|
+
shareBaseUrl = shareOptions.shareBaseUrl,
|
|
1054
|
+
shareSiteTitle = shareOptions.shareSiteTitle;
|
|
1055
1055
|
|
|
1056
1056
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
1057
1057
|
var shareTitle = article.title;
|
|
@@ -1251,7 +1251,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1251
1251
|
React.createElement(
|
|
1252
1252
|
'div',
|
|
1253
1253
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1254
|
-
|
|
1254
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1255
1255
|
if (index === 0) {
|
|
1256
1256
|
return React.createElement(
|
|
1257
1257
|
'div',
|
|
@@ -1335,7 +1335,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1335
1335
|
blocks: isi
|
|
1336
1336
|
})
|
|
1337
1337
|
),
|
|
1338
|
-
|
|
1338
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1339
1339
|
if (index > 0) {
|
|
1340
1340
|
return React.createElement(
|
|
1341
1341
|
'div',
|
|
@@ -1374,16 +1374,18 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
});
|
|
1376
1376
|
|
|
1377
|
-
var _this
|
|
1377
|
+
var _this = undefined;
|
|
1378
1378
|
|
|
1379
1379
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1380
|
+
var router = useRouter();
|
|
1381
|
+
|
|
1380
1382
|
var _props$prevUrl = props.prevUrl,
|
|
1381
1383
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1382
1384
|
Ads = props.Ads,
|
|
1383
1385
|
_props$maxListLength = props.maxListLength,
|
|
1384
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1385
|
-
props.sponsoredTaxonomies
|
|
1386
|
-
|
|
1386
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength,
|
|
1387
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1388
|
+
_props$cpModification = props.cpModificationRequired,
|
|
1387
1389
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1388
1390
|
_props$authorPrefix = props.authorPrefix,
|
|
1389
1391
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1432,7 +1434,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1432
1434
|
return item.url.current === path;
|
|
1433
1435
|
});
|
|
1434
1436
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1435
|
-
if (!
|
|
1437
|
+
if (!main_40) {
|
|
1436
1438
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1437
1439
|
if (window.googletag && googletag.pubadsReady) {
|
|
1438
1440
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1449,7 +1451,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1449
1451
|
});
|
|
1450
1452
|
}
|
|
1451
1453
|
//Refresh leaderboard ad on mobile
|
|
1452
|
-
if (
|
|
1454
|
+
if (main_40) {
|
|
1453
1455
|
var leaderboardSlotId = '';
|
|
1454
1456
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1455
1457
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1553,7 +1555,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1553
1555
|
return _context.stop();
|
|
1554
1556
|
}
|
|
1555
1557
|
}
|
|
1556
|
-
}, _callee, _this
|
|
1558
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1557
1559
|
}));
|
|
1558
1560
|
|
|
1559
1561
|
return function loadmore() {
|
|
@@ -1561,6 +1563,34 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1561
1563
|
};
|
|
1562
1564
|
}();
|
|
1563
1565
|
|
|
1566
|
+
var currentPath = router && router.asPath;
|
|
1567
|
+
var seoLinks = props.cache.seoManager && props.cache.seoManager.filter(function (eachDocument) {
|
|
1568
|
+
return eachDocument.urlSeo == currentPath;
|
|
1569
|
+
});
|
|
1570
|
+
|
|
1571
|
+
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1572
|
+
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1573
|
+
// let urlSeo = seoLinks && seoLinks.length ==1 && seoLinks[0].urlSeo
|
|
1574
|
+
|
|
1575
|
+
var changeMetaFromSanity = function changeMetaFromSanity(metaDescription, metaTitle, oldMeta) {
|
|
1576
|
+
document.title = metaTitle;
|
|
1577
|
+
//this was throwing an error if there was no description, doing a check for the description meta
|
|
1578
|
+
if (document.querySelector('meta[name="description"]')) document.querySelector('meta[name="description"]').setAttribute('content', metaDescription);
|
|
1579
|
+
document.querySelector('meta[name="keywords"]').setAttribute('content', oldMeta.shareKeywords);
|
|
1580
|
+
document.querySelector('meta[property="og:url"]').setAttribute('content', oldMeta.shareUrl);
|
|
1581
|
+
document.querySelector('meta[property="og:title"]').setAttribute('content', metaTitle);
|
|
1582
|
+
document.querySelector('meta[property="og:site_name"]').setAttribute('content', oldMeta.shareVia);
|
|
1583
|
+
document.querySelector('meta[property="og:description"]').setAttribute('content', metaDescription);
|
|
1584
|
+
document.querySelector('meta[name="twitter:title"]').setAttribute('content', metaTitle);
|
|
1585
|
+
document.querySelector('meta[name="twitter:image"]').setAttribute('content', oldMeta.shareImage);
|
|
1586
|
+
document.querySelector('meta[name="twitter:site"]').setAttribute('content', oldMeta.shareVia);
|
|
1587
|
+
//this was throwing an error if there was no description, doing a check for the description meta
|
|
1588
|
+
if (document.querySelector('meta[name="twitter:description"]')) document.querySelector('meta[name="twitter:description"]').setAttribute('content', metaDescription);
|
|
1589
|
+
if (canonicalTag) {
|
|
1590
|
+
document.querySelector('link[rel="canonical"]').setAttribute('href', oldMeta.shareUrl);
|
|
1591
|
+
}
|
|
1592
|
+
};
|
|
1593
|
+
|
|
1564
1594
|
var changeMeta = function changeMeta(meta) {
|
|
1565
1595
|
document.title = meta.shareTitle;
|
|
1566
1596
|
//this was throwing an error if there was no description, doing a check for the description meta
|
|
@@ -1590,7 +1620,12 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1590
1620
|
});
|
|
1591
1621
|
// Change URL and do other changes
|
|
1592
1622
|
window.history.pushState({ page: path }, meta.shareTitle, newPath);
|
|
1593
|
-
|
|
1623
|
+
|
|
1624
|
+
if (metaDescriptionSanity && metaTitleSanity && currentPath == newPath) {
|
|
1625
|
+
changeMetaFromSanity(metaDescriptionSanity, metaTitleSanity, meta);
|
|
1626
|
+
} else {
|
|
1627
|
+
changeMeta(meta);
|
|
1628
|
+
}
|
|
1594
1629
|
if (props.setCustomDimensions) {
|
|
1595
1630
|
props.setCustomDimensions(activeArticle, '200', prevUrl);
|
|
1596
1631
|
}
|
|
@@ -1623,7 +1658,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1623
1658
|
);
|
|
1624
1659
|
};
|
|
1625
1660
|
|
|
1626
|
-
var _this = undefined;
|
|
1661
|
+
var _this$1 = undefined;
|
|
1627
1662
|
|
|
1628
1663
|
var View = function View(props) {
|
|
1629
1664
|
var router = useRouter();
|
|
@@ -1633,9 +1668,9 @@ var View = function View(props) {
|
|
|
1633
1668
|
hideComments = _props$article.hideComments,
|
|
1634
1669
|
content_placement = _props$article.content_placement,
|
|
1635
1670
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1636
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1637
|
-
props.sponsoredTaxonomies
|
|
1638
|
-
|
|
1671
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
1672
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1673
|
+
Ads = props.Ads,
|
|
1639
1674
|
setCustomDimensions = props.setCustomDimensions,
|
|
1640
1675
|
statusCode = props.statusCode,
|
|
1641
1676
|
prevUrl = props.prevUrl,
|
|
@@ -1648,9 +1683,9 @@ var View = function View(props) {
|
|
|
1648
1683
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1649
1684
|
var _props$article2 = props.article,
|
|
1650
1685
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1651
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1652
|
-
_props$article2.description
|
|
1653
|
-
|
|
1686
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw,
|
|
1687
|
+
description = _props$article2.description,
|
|
1688
|
+
title = _props$article2.title,
|
|
1654
1689
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1655
1690
|
|
|
1656
1691
|
var _useState = useState(0),
|
|
@@ -1711,6 +1746,7 @@ var View = function View(props) {
|
|
|
1711
1746
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1712
1747
|
|
|
1713
1748
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1749
|
+
description = null;
|
|
1714
1750
|
title = null;
|
|
1715
1751
|
}
|
|
1716
1752
|
|
|
@@ -1747,6 +1783,13 @@ var View = function View(props) {
|
|
|
1747
1783
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1748
1784
|
}
|
|
1749
1785
|
|
|
1786
|
+
var currentPath = router && router.asPath;
|
|
1787
|
+
var seoLinks = props.cache.seoManager && props.cache.seoManager.filter(function (eachDocument) {
|
|
1788
|
+
return eachDocument.urlSeo == currentPath;
|
|
1789
|
+
});
|
|
1790
|
+
|
|
1791
|
+
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1792
|
+
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1750
1793
|
return React.createElement(
|
|
1751
1794
|
React.Fragment,
|
|
1752
1795
|
null,
|
|
@@ -1756,9 +1799,9 @@ var View = function View(props) {
|
|
|
1756
1799
|
React.createElement(
|
|
1757
1800
|
'title',
|
|
1758
1801
|
{ key: 'title' },
|
|
1759
|
-
seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article && article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + article.title + (currentPage > 0 ? ' | Page ' + currentPage : '')
|
|
1802
|
+
metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article && article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + article.title + (currentPage > 0 ? ' | Page ' + currentPage : '')
|
|
1760
1803
|
),
|
|
1761
|
-
meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1804
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1762
1805
|
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1763
1806
|
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1764
1807
|
React.createElement('meta', {
|
|
@@ -1768,7 +1811,7 @@ var View = function View(props) {
|
|
|
1768
1811
|
}),
|
|
1769
1812
|
React.createElement('meta', {
|
|
1770
1813
|
property: 'og:title',
|
|
1771
|
-
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1814
|
+
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1772
1815
|
key: 'og:title'
|
|
1773
1816
|
}),
|
|
1774
1817
|
React.createElement('meta', {
|
|
@@ -1777,11 +1820,11 @@ var View = function View(props) {
|
|
|
1777
1820
|
key: 'og:image'
|
|
1778
1821
|
}),
|
|
1779
1822
|
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1780
|
-
React.createElement('meta', { property: 'og:description', content: meta_description, key: 'og:description' }),
|
|
1823
|
+
metaDescriptionSanity ? React.createElement('meta', { property: 'og:description', key: 'og:description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { property: 'og:description', key: 'og:description', content: meta_description }),
|
|
1781
1824
|
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1782
1825
|
React.createElement('meta', {
|
|
1783
1826
|
name: 'twitter:title',
|
|
1784
|
-
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1827
|
+
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1785
1828
|
key: 'twitter:title'
|
|
1786
1829
|
}),
|
|
1787
1830
|
React.createElement('meta', {
|
|
@@ -1790,7 +1833,7 @@ var View = function View(props) {
|
|
|
1790
1833
|
key: 'twitter:image'
|
|
1791
1834
|
}),
|
|
1792
1835
|
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1793
|
-
React.createElement('meta', { name: 'twitter:description', content: meta_description, key: 'twitter:description' }),
|
|
1836
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: meta_description }),
|
|
1794
1837
|
canonicalTag && React.createElement('link', {
|
|
1795
1838
|
rel: 'canonical',
|
|
1796
1839
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
@@ -1940,7 +1983,7 @@ View.returnGetInitialProps = function () {
|
|
|
1940
1983
|
return _context.stop();
|
|
1941
1984
|
}
|
|
1942
1985
|
}
|
|
1943
|
-
}, _callee, _this);
|
|
1986
|
+
}, _callee, _this$1);
|
|
1944
1987
|
}));
|
|
1945
1988
|
|
|
1946
1989
|
return function (_x, _x2, _x3, _x4, _x5) {
|
package/dist/esm/YahooHero.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
3
|
-
import urlFor from './urlFor.js';
|
|
4
|
-
import { c as clean_html_1 } from './entities-932b50cf.js';
|
|
5
|
-
import { A as AuthorComponent } from './AuthorComponent-5ae7409f.js';
|
|
6
|
-
import { L as LazyLoad } from './index-35bdcc81.js';
|
|
7
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
8
|
-
import './
|
|
9
|
-
import './
|
|
10
|
-
import './
|
|
11
|
-
import './
|
|
12
|
-
import '
|
|
13
|
-
import './core.get-iterator-method-133dfacd.js';
|
|
14
|
-
import 'react-dom';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
4
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
5
|
+
import './web.dom.iterable-4439f05a.js';
|
|
6
|
+
import React from 'react';
|
|
15
7
|
import 'prop-types';
|
|
8
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
9
|
+
import 'react-dom';
|
|
10
|
+
import './index-51a80699.js';
|
|
11
|
+
import urlFor from './urlFor.js';
|
|
12
|
+
import { L as LazyLoad } from './index-6c12bdd5.js';
|
|
13
|
+
import { c as clean_html_1 } from './entities-7cc3bf45.js';
|
|
14
|
+
import './slicedToArray-641f241f.js';
|
|
15
|
+
import { A as AuthorComponent } from './AuthorComponent-8ffd4679.js';
|
|
16
16
|
|
|
17
17
|
var YahooHero = function YahooHero(props) {
|
|
18
18
|
var removeTimeStamp = props.removeTimeStamp;
|
|
@@ -72,11 +72,11 @@ var YahooHero = function YahooHero(props) {
|
|
|
72
72
|
{ className: 'yh-sub-article-container' },
|
|
73
73
|
subArticles.map(function (article, index) {
|
|
74
74
|
var articleThumbnail = '';
|
|
75
|
-
article.title;
|
|
75
|
+
var articleAltText = article.title;
|
|
76
76
|
if (article.thumbnail && article.thumbnail) {
|
|
77
77
|
articleThumbnail = urlFor({ client: client, source: article.thumbnail, imageWidth: 250 });
|
|
78
78
|
|
|
79
|
-
article.thumbnail.asset.originalFileName;
|
|
79
|
+
articleAltText = article.thumbnail.asset.originalFileName;
|
|
80
80
|
} else if (props.thumbnail) {
|
|
81
81
|
articleThumbnail = props.thumbnail;
|
|
82
82
|
}
|