@mjhls/mjh-framework 1.0.932 → 1.0.934
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 +21 -22
- package/dist/cjs/AD300x250x600.js +21 -22
- package/dist/cjs/AD728x90.js +24 -25
- package/dist/cjs/ADFloatingFooter.js +20 -21
- package/dist/cjs/ADFooter.js +4 -4
- package/dist/cjs/ADGutter.js +20 -21
- package/dist/cjs/{ADInfeed-44d43b8a.js → ADInfeed-a4d973da.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +20 -21
- package/dist/cjs/ADSponsoredResources.js +20 -21
- package/dist/cjs/ADWebcast.js +20 -21
- package/dist/cjs/ADWelcome.js +17 -18
- package/dist/cjs/{ADlgInfeed-24d739f6.js → ADlgInfeed-def2c25d.js} +4 -4
- package/dist/cjs/AccordionPanel.js +6 -6
- package/dist/cjs/AdSlot.js +19 -20
- package/dist/cjs/AdSlotsProvider.js +11 -12
- package/dist/cjs/AlgoliaSearch.js +31 -14178
- package/dist/cjs/AlphabeticList.js +8 -8
- package/dist/cjs/ArticleCarousel.js +13 -13
- package/dist/cjs/ArticleProgramLandingPage.js +50 -50
- package/dist/cjs/ArticleSeriesLandingPage.js +29 -30
- package/dist/cjs/ArticleSeriesListing.js +30 -31
- package/dist/cjs/Auth.js +346 -482
- package/dist/cjs/AuthWrapper.js +13 -1766
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-17e1c62b.js} +1 -1
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +6 -6
- package/dist/cjs/CMEDeck.js +22 -23
- package/dist/cjs/Column2.js +14 -14
- package/dist/cjs/Column3.js +30 -31
- package/dist/cjs/ConferenceArticleCard.js +10 -10
- package/dist/cjs/ContentCardPaginated.js +37 -38
- package/dist/cjs/DeckContent.js +31 -32
- package/dist/cjs/DeckQueue.js +29 -30
- package/dist/cjs/DeckQueuePaginated.js +33 -34
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-bcaa7e3f.js} +12 -13
- package/dist/cjs/EventsDeck.js +26 -26
- package/dist/cjs/ExternalResources.js +47 -47
- package/dist/cjs/Feature.js +7 -7
- package/dist/cjs/ForbesHero.js +10 -10
- package/dist/cjs/GridContent.js +45 -46
- package/dist/cjs/GridContentPaginated.js +46 -47
- package/dist/cjs/GridHero.js +11 -11
- package/dist/cjs/GroupDeck.js +12 -12
- package/dist/cjs/HamMagazine.js +27 -27
- package/dist/cjs/Hero.js +7 -7
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +48 -48
- package/dist/cjs/HorizontalHero.js +8 -8
- package/dist/cjs/ImageSlider-10cd194f.js +1383 -0
- package/dist/cjs/IssueContentDeck.js +11 -11
- package/dist/cjs/IssueDeck.js +14 -14
- package/dist/cjs/IssueLanding.js +56 -56
- package/dist/cjs/LeftNav.js +19 -20
- package/dist/cjs/MasterDeck.js +30 -31
- package/dist/cjs/MasterDeckPaginated.js +33 -34
- package/dist/cjs/{MediaSeriesCard-ebf0b083.js → MediaSeriesCard-2e1f34e6.js} +799 -1002
- package/dist/cjs/MediaSeriesLanding.js +51 -52
- package/dist/cjs/MediaSeriesLandingPaginated.js +57 -58
- package/dist/cjs/NavDvm.js +11 -11
- package/dist/cjs/NavMagazine.js +29 -29
- package/dist/cjs/NavNative.js +30 -30
- package/dist/cjs/OncliveHero.js +7 -7
- package/dist/cjs/OncliveLargeHero.js +11 -11
- package/dist/cjs/PageFilter.js +4 -4
- package/dist/cjs/{Pagination-885dcfbd.js → Pagination-a2807e27.js} +3 -3
- package/dist/cjs/PartnerDetailListing.js +62 -63
- package/dist/cjs/PartnerDetailListingPaginated.js +62 -63
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +4 -4
- package/dist/cjs/PubSection.js +32 -33
- package/dist/cjs/PubToc.js +6 -6
- package/dist/cjs/PublicationDeck.js +11 -11
- package/dist/cjs/{PublicationFeature-5ccf9b13.js → PublicationFeature-6f89fb97.js} +2 -2
- package/dist/cjs/PublicationLanding.js +27 -31
- package/dist/cjs/QueueDeckExpanded.js +35 -36
- package/dist/cjs/QueueDeckExpandedPaginated.js +38 -39
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +10 -10
- package/dist/cjs/Schema.js +10 -10
- package/dist/cjs/Search.js +6 -6
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +17 -18
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-88e59074.js} +10 -10
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +13 -13
- package/dist/cjs/{SocialSearchComponent-b7faaedc.js → SocialSearchComponent-af6ddcc0.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +12 -12
- package/dist/cjs/TaxonomyDescription.js +46 -46
- package/dist/cjs/TemplateNormal.js +45 -46
- package/dist/cjs/ThumbnailCard.js +10 -10
- package/dist/cjs/Ustream.js +21 -21
- package/dist/cjs/VerticalHero.js +6 -6
- package/dist/cjs/VideoProgramLandingPage.js +52 -52
- package/dist/cjs/VideoSeriesCard.js +13 -13
- package/dist/cjs/VideoSeriesFilter.js +7 -7
- package/dist/cjs/VideoSeriesLandingPage.js +35 -36
- package/dist/cjs/VideoSeriesListing.js +30 -31
- package/dist/cjs/View.js +110 -104
- package/dist/cjs/YahooHero.js +13 -13
- package/dist/cjs/YoutubeGroup.js +17 -17
- package/dist/cjs/{_is-array-54228b29.js → _is-array-aa52fa1e.js} +6 -6
- package/dist/cjs/{_iter-detect-b1df62f0.js → _iter-detect-05795553.js} +7 -7
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-d1978572.js → _object-sap-171b9ea5.js} +1 -1
- package/dist/cjs/{_object-to-array-ce86cae7.js → _object-to-array-9bac8737.js} +2 -2
- package/dist/cjs/{asyncToGenerator-77821af0.js → asyncToGenerator-df19209d.js} +30 -30
- package/dist/cjs/{core.get-iterator-method-5643aa10.js → core.get-iterator-method-f3c44602.js} +35 -35
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-e8404b64.js → define-property-21887c62.js} +6 -6
- package/dist/cjs/{defineProperty-9673846a.js → defineProperty-77a37684.js} +1 -1
- package/dist/cjs/{entities-df1aed86.js → entities-310b46ee.js} +1 -5
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-7df78678.js} +7 -8
- package/dist/cjs/faundadb.js +5 -5
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getQuery.js +3 -2
- package/dist/cjs/getRelatedArticle.js +68 -132
- package/dist/cjs/getRootDocGroup.js +4 -4
- package/dist/cjs/getSerializers.js +46 -46
- package/dist/cjs/{getTargeting-3c5754ac.js → getTargeting-1359b868.js} +2 -2
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-fc2f1ca2.js → index-44481153.js} +488 -42
- 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-d48b231c.js → index-b5eb3ff8.js} +6 -11
- package/dist/cjs/{index-e6bae72c.js → index-cda68ef1.js} +159 -409
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-d81454e7.js → index.esm-48e0f0d8.js} +1 -1
- package/dist/cjs/{index.esm-d51c9ac6.js → index.esm-f93506ac.js} +1 -1
- package/dist/cjs/index.js +145 -147
- package/dist/cjs/{inherits-de66ea16.js → inherits-420ee86f.js} +18 -21
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/{keys-e982b3fa.js → keys-d207942e.js} +6 -6
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-7b5e57b0.js +898 -0
- 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-067dd3bc.js → slicedToArray-f6d4eaa8.js} +12 -12
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/{stringify-f7a37a8d.js → stringify-bbc68047.js} +5 -5
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-d7797c2b.js → toConsumableArray-c9b8a0d0.js} +7 -7
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-567e31ff.js → typeof-ec08d471.js} +34 -34
- package/dist/cjs/urlFor.js +4 -4
- package/dist/cjs/{urlForFile-29d3815a.js → urlForFile-ad96158c.js} +1 -1
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-93a37fd0.js → util-f2c1b65b.js} +1 -12
- package/dist/cjs/{web.dom.iterable-d98303e0.js → web.dom.iterable-e34bf324.js} +2 -2
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +24 -25
- package/dist/esm/AD300x250x600.js +24 -25
- package/dist/esm/AD728x90.js +27 -28
- package/dist/esm/ADFloatingFooter.js +26 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +26 -27
- package/dist/esm/{ADInfeed-7af1f934.js → ADInfeed-f3a93040.js} +9 -9
- package/dist/esm/ADSkyscraper.js +26 -27
- package/dist/esm/ADSponsoredResources.js +26 -27
- package/dist/esm/ADWebcast.js +26 -27
- package/dist/esm/ADWelcome.js +27 -28
- package/dist/esm/{ADlgInfeed-ebcafb85.js → ADlgInfeed-c4814c4e.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +22 -23
- package/dist/esm/AdSlotsProvider.js +12 -13
- package/dist/esm/AlgoliaSearch.js +55 -14202
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +35 -36
- package/dist/esm/ArticleSeriesListing.js +54 -55
- package/dist/esm/Auth.js +417 -553
- package/dist/esm/AuthWrapper.js +26 -1780
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-37ebc2bd.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -78
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +25 -25
- package/dist/esm/Column3.js +49 -50
- package/dist/esm/ConferenceArticleCard.js +23 -23
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/ContentCardPaginated.js +72 -73
- package/dist/esm/DeckContent.js +76 -77
- package/dist/esm/DeckQueue.js +67 -68
- package/dist/esm/DeckQueuePaginated.js +63 -64
- package/dist/esm/{Dfp-102f0beb.js → Dfp-23281963.js} +20 -21
- package/dist/esm/EventsDeck.js +86 -86
- package/dist/esm/ExternalResources.js +73 -73
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +142 -143
- package/dist/esm/GridContentPaginated.js +133 -134
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +104 -104
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +13 -13
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +70 -70
- package/dist/esm/HorizontalHero.js +26 -26
- package/dist/esm/ImageSlider-522a2cd0.js +1375 -0
- package/dist/esm/IssueContentDeck.js +48 -48
- package/dist/esm/IssueDeck.js +45 -45
- package/dist/esm/IssueLanding.js +64 -64
- package/dist/esm/LeftNav.js +32 -33
- package/dist/esm/MasterDeck.js +63 -64
- package/dist/esm/MasterDeckPaginated.js +55 -56
- package/dist/esm/{MediaSeriesCard-5b06f89b.js → MediaSeriesCard-4ba5bde7.js} +799 -1002
- package/dist/esm/MediaSeriesLanding.js +76 -77
- package/dist/esm/MediaSeriesLandingPaginated.js +80 -81
- package/dist/esm/NavDvm.js +54 -54
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +111 -111
- package/dist/esm/NavNative.js +101 -101
- package/dist/esm/OncliveHero.js +19 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/{Pagination-59436882.js → Pagination-185dfca0.js} +13 -13
- package/dist/esm/PartnerDetailListing.js +95 -96
- package/dist/esm/PartnerDetailListingPaginated.js +93 -94
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +37 -38
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +42 -42
- package/dist/esm/{PublicationFeature-d88e76b9.js → PublicationFeature-d79db241.js} +23 -23
- package/dist/esm/PublicationLanding.js +74 -78
- package/dist/esm/QueueDeckExpanded.js +273 -274
- package/dist/esm/QueueDeckExpandedPaginated.js +253 -254
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +23 -23
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Schema.js +12 -12
- package/dist/esm/Search.js +10 -10
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -31
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-0a8cfca0.js} +27 -27
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +30 -30
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-4b56cd8c.js → SocialSearchComponent-32ee0f63.js} +33 -33
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +44 -44
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +65 -66
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +29 -29
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +64 -64
- package/dist/esm/VideoSeriesCard.js +25 -25
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -41
- package/dist/esm/VideoSeriesListing.js +70 -71
- package/dist/esm/View.js +260 -254
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +48 -48
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-130ee549.js} +7 -7
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-958ef5fc.js → asyncToGenerator-64812e90.js} +30 -30
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-4abff0b1.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-86d4db69.js} +36 -36
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/define-property-6d26cb48.js +18 -0
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-d7d9b577.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-7cc3bf45.js} +1 -5
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{extends-6d8e3924.js → extends-a4230287.js} +8 -8
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getQuery.js +3 -2
- package/dist/esm/getRelatedArticle.js +69 -133
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +46 -46
- package/dist/esm/{getTargeting-42f9b439.js → getTargeting-ba1ffe43.js} +2 -2
- package/dist/esm/getTargeting.js +6 -6
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-f0fc23eb.js → index-1819118a.js} +490 -44
- package/dist/esm/{index-3f5c03b2.js → index-51a80699.js} +6 -11
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-2eb00bbf.js → index-85bb0372.js} +569 -820
- package/dist/esm/{index-79cfd25c.js → index-fa2ffe86.js} +45 -44
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-eb1e8e80.js → index.esm-55f22b35.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/{index.esm-1bd8a0a8.js → index.esm-d1125763.js} +1 -1
- package/dist/esm/index.js +171 -173
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-91a2c374.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-31dcdb31.js → keys-69989821.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-ec8c6b48.js} +10 -58
- package/dist/esm/main-43ca42fe.js +886 -0
- package/dist/esm/{moment-bc12cb97.js → moment-b6f49411.js} +1 -1
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.js} +20 -20
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-67a08c9c.js} +12 -12
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-70b72959.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-f1b7564e.js} +34 -34
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{urlForFile-b69adffc.js → urlForFile-d2a27665.js} +1 -1
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-7700fc59.js} +1 -12
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ImageSlider-6c00b878.js +0 -2813
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/events-1b438fe7.js +0 -469
- package/dist/cjs/index-50be6759.js +0 -105
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/ImageSlider-f84174cb.js +0 -2804
- package/dist/esm/define-property-5f1bda73.js +0 -18
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/events-6c3a7a63.js +0 -467
- package/dist/esm/index-98ca9cec.js +0 -100
- package/dist/esm/main-1894c974.js +0 -961
- package/dist/esm/stringify-2b084bee.js +0 -15
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-5c98aec7.js} +1 -1
package/dist/esm/View.js
CHANGED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-958ef5fc.js';
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-6d8e3924.js';
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-6ebcbfea.js';
|
|
4
|
-
import React__default, { 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-2b084bee.js';
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-f7074d7c.js';
|
|
9
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-1e73bd2c.js';
|
|
11
|
-
import { m as main_43 } from './main-1894c974.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-72fd8f8b.js';
|
|
17
|
-
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-2eb00bbf.js';
|
|
19
|
-
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-45adb8dc.js';
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-42f9b439.js';
|
|
22
|
-
import getKeywords from './getKeywords.js';
|
|
23
|
-
import urlFor from './urlFor.js';
|
|
24
|
-
import { u as urlForFile } from './urlForFile-b69adffc.js';
|
|
25
|
-
import { _ as _typeof } from './typeof-e9fc0c5d.js';
|
|
26
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-1bd8a0a8.js';
|
|
27
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
28
|
-
import './index-755f2cc2.js';
|
|
29
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
30
|
-
import Schema from './Schema.js';
|
|
31
|
-
import FileSaver from 'file-saver';
|
|
32
|
-
import { _ as _Object$keys } from './keys-31dcdb31.js';
|
|
33
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
34
|
-
import { l as lib_3 } from './index-f0fc23eb.js';
|
|
35
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
36
|
-
import getQuery from './getQuery.js';
|
|
37
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
38
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
39
|
-
import './core.get-iterator-method-
|
|
40
|
-
import './web.dom.iterable-ab4dea5c.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
41
3
|
import './_library-528f1934.js';
|
|
42
|
-
import './_iter-detect-
|
|
43
|
-
import './
|
|
4
|
+
import './_iter-detect-130ee549.js';
|
|
5
|
+
import { _ as _toConsumableArray } from './toConsumableArray-32282905.js';
|
|
6
|
+
import './_object-pie-33c40e79.js';
|
|
7
|
+
import { _ as _extends, a as _Object$assign } from './extends-a4230287.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import './inherits-91a2c374.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import { _ as _typeof } from './typeof-f1b7564e.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
15
|
+
import { l as lib_3 } from './index-1819118a.js';
|
|
44
16
|
import 'prop-types';
|
|
45
|
-
import '
|
|
17
|
+
import 'react-bootstrap/Row';
|
|
18
|
+
import 'react-bootstrap/Col';
|
|
19
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
20
|
+
import { useRouter } from 'next/router';
|
|
21
|
+
import './isSymbol-1981418f.js';
|
|
22
|
+
import './debounce-9207d8ee.js';
|
|
23
|
+
import './toNumber-2f7a84cd.js';
|
|
24
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
46
25
|
import 'react-dom';
|
|
47
|
-
import '
|
|
48
|
-
import '
|
|
49
|
-
import './index-
|
|
50
|
-
import './
|
|
51
|
-
import './
|
|
26
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
27
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
28
|
+
import './index-51a80699.js';
|
|
29
|
+
import urlFor from './urlFor.js';
|
|
30
|
+
import './index-6c12bdd5.js';
|
|
31
|
+
import { m as main_40 } from './main-43ca42fe.js';
|
|
32
|
+
import './entities-7cc3bf45.js';
|
|
33
|
+
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
34
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64812e90.js';
|
|
52
35
|
import './Segment.js';
|
|
53
|
-
import './
|
|
54
|
-
import '
|
|
36
|
+
import './Beam.js';
|
|
37
|
+
import DFPAdSlot from './AdSlot.js';
|
|
38
|
+
import Button from 'react-bootstrap/Button';
|
|
39
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
40
|
+
import './index-c7e2ac95.js';
|
|
41
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
55
42
|
import './GroupDeck.js';
|
|
56
|
-
import '
|
|
57
|
-
import './
|
|
58
|
-
import './
|
|
43
|
+
import 'react-bootstrap';
|
|
44
|
+
import './iconBase-602d52fe.js';
|
|
45
|
+
import './index.esm-55f22b35.js';
|
|
46
|
+
import { r as renderAuthor, g as getSerializers } from './index-85bb0372.js';
|
|
47
|
+
import './util-7700fc59.js';
|
|
48
|
+
import { u as urlForFile } from './urlForFile-d2a27665.js';
|
|
49
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
50
|
+
import 'react-bootstrap/Modal';
|
|
51
|
+
import Form from 'react-bootstrap/Form';
|
|
52
|
+
import Head from 'next/head';
|
|
53
|
+
import 'react-share';
|
|
54
|
+
import SocialShare from './SocialShare.js';
|
|
55
|
+
import './_object-to-array-c54dd835.js';
|
|
59
56
|
import 'react-bootstrap/Pagination';
|
|
60
|
-
import './entities-6d9154b4.js';
|
|
61
|
-
import 'react-bootstrap/Row';
|
|
62
|
-
import 'react-bootstrap/Col';
|
|
63
|
-
import './inherits-a6ba2ec4.js';
|
|
64
|
-
import './_object-sap-7cee6f84.js';
|
|
65
|
-
import './define-property-5f1bda73.js';
|
|
66
|
-
import './index.esm-eb1e8e80.js';
|
|
67
|
-
import './iconBase-ccc56b97.js';
|
|
68
57
|
import 'react-bootstrap/Figure';
|
|
69
58
|
import 'react-bootstrap/OverlayTrigger';
|
|
70
59
|
import 'react-bootstrap/Tooltip';
|
|
71
60
|
import 'react-bootstrap/Popover';
|
|
72
|
-
import '
|
|
73
|
-
import '
|
|
74
|
-
import './
|
|
75
|
-
import '
|
|
61
|
+
import 'react-script-tag';
|
|
62
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
63
|
+
import { _ as _Object$keys } from './keys-69989821.js';
|
|
64
|
+
import 'react-bootstrap/Dropdown';
|
|
65
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-d1125763.js';
|
|
66
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
76
67
|
import './index-db3bb315.js';
|
|
68
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
69
|
+
import getQuery from './getQuery.js';
|
|
70
|
+
import { S as SeriesSlider } from './SeriesSlider-0a8cfca0.js';
|
|
71
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-ba1ffe43.js';
|
|
72
|
+
import getKeywords from './getKeywords.js';
|
|
73
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
74
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
75
|
+
import Schema from './Schema.js';
|
|
76
|
+
import FileSaver from 'file-saver';
|
|
77
77
|
|
|
78
78
|
var getArticleSummary = function getArticleSummary(article) {
|
|
79
79
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -151,17 +151,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
151
151
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
return
|
|
154
|
+
return React.createElement(
|
|
155
155
|
'a',
|
|
156
156
|
{
|
|
157
157
|
href: url,
|
|
158
158
|
className: 'doc-group',
|
|
159
159
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
160
|
-
thumbnailUrl &&
|
|
161
|
-
!thumbnailUrl &&
|
|
162
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
160
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
161
|
+
!thumbnailUrl && React.createElement('p', {
|
|
162
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
163
163
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
164
|
-
|
|
164
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
165
165
|
'style',
|
|
166
166
|
{ jsx: 'true' },
|
|
167
167
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -301,38 +301,38 @@ var ISI = function ISI(props) {
|
|
|
301
301
|
}, 300);
|
|
302
302
|
}
|
|
303
303
|
};
|
|
304
|
-
return
|
|
305
|
-
|
|
304
|
+
return React.createElement(
|
|
305
|
+
React.Fragment,
|
|
306
306
|
null,
|
|
307
|
-
|
|
307
|
+
React.createElement(
|
|
308
308
|
'div',
|
|
309
309
|
{ id: 'isi', ref: isi },
|
|
310
|
-
|
|
310
|
+
React.createElement(
|
|
311
311
|
'div',
|
|
312
312
|
{ id: 'isiContent' },
|
|
313
|
-
|
|
313
|
+
React.createElement(
|
|
314
314
|
'div',
|
|
315
315
|
{ onClick: function onClick() {
|
|
316
316
|
return setActive(function (prev) {
|
|
317
317
|
return !prev;
|
|
318
318
|
});
|
|
319
319
|
}, id: 'isiToggle' },
|
|
320
|
-
active ?
|
|
320
|
+
active ? React.createElement(
|
|
321
321
|
'p',
|
|
322
322
|
null,
|
|
323
323
|
'Close ',
|
|
324
|
-
|
|
325
|
-
) :
|
|
324
|
+
React.createElement(FaMinus, null)
|
|
325
|
+
) : React.createElement(
|
|
326
326
|
'p',
|
|
327
327
|
null,
|
|
328
328
|
'See More ',
|
|
329
|
-
|
|
329
|
+
React.createElement(FaPlus, null)
|
|
330
330
|
)
|
|
331
331
|
),
|
|
332
332
|
children
|
|
333
333
|
)
|
|
334
334
|
),
|
|
335
|
-
|
|
335
|
+
React.createElement(
|
|
336
336
|
'style',
|
|
337
337
|
{ jsx: true },
|
|
338
338
|
'\n #isi {\n position: fixed;\n z-index: 9999999;\n bottom: 0;\n left: 0;\n max-height: 12rem;\n background-color: #ffffff;\n overflow-x: hidden;\n overflow-y: hidden;\n width: 100%;\n box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);\n transition: bottom .5s ease , margin-top .3s, max-height .2s;\n }\n #isiContent {\n width: 100%;\n max-width: 1000px;\n margin-left: auto;\n margin-right: auto;\n position: relative;\n padding: 1rem;\n font-size: 1rem;\n }\n #isi::-webkit-scrollbar {\n display: none;\n }\n #isiToggle {\n position: absolute;\n top: 0;\n right: 0;\n padding: 1rem;\n font-weight: bold;\n cursor: pointer;\n font-size: 1rem;\n }\n #isiToggle p {\n margin: 0;\n }\n '
|
|
@@ -354,34 +354,34 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
354
354
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
355
355
|
return null;
|
|
356
356
|
}
|
|
357
|
-
return
|
|
357
|
+
return React.createElement(
|
|
358
358
|
'div',
|
|
359
359
|
{ className: styles.mediaContainer },
|
|
360
360
|
articles.map(function (article, index) {
|
|
361
361
|
if (article && article.url && article.url.current) {
|
|
362
|
-
return
|
|
362
|
+
return React.createElement(
|
|
363
363
|
'div',
|
|
364
364
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
365
|
-
|
|
365
|
+
React.createElement(
|
|
366
366
|
'a',
|
|
367
367
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
368
|
-
article.thumbnail ?
|
|
368
|
+
article.thumbnail ? React.createElement('img', {
|
|
369
369
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
370
370
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
371
371
|
alt: article.title
|
|
372
|
-
}) :
|
|
373
|
-
|
|
372
|
+
}) : React.createElement(
|
|
373
|
+
React.Fragment,
|
|
374
374
|
null,
|
|
375
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
375
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
376
376
|
)
|
|
377
377
|
),
|
|
378
|
-
|
|
378
|
+
React.createElement(
|
|
379
379
|
'div',
|
|
380
380
|
{ className: styles.mediaBody },
|
|
381
|
-
|
|
381
|
+
React.createElement(
|
|
382
382
|
'a',
|
|
383
383
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
384
|
-
|
|
384
|
+
React.createElement(
|
|
385
385
|
'div',
|
|
386
386
|
{ className: styles.cardTitle },
|
|
387
387
|
article.title
|
|
@@ -544,29 +544,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
544
544
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
545
545
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
546
546
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
547
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
548
|
-
props.active
|
|
549
|
-
|
|
547
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh,
|
|
548
|
+
active = props.active,
|
|
549
|
+
containerHeight = props.containerHeight,
|
|
550
550
|
_props$refreshFlag = props.refreshFlag,
|
|
551
551
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
552
552
|
disqusConfig = props.disqusConfig,
|
|
553
553
|
showDisqus = props.showDisqus,
|
|
554
554
|
_props$downloadCitati = props.downloadCitation,
|
|
555
555
|
downloadCitation = _props$downloadCitati === undefined ? false : _props$downloadCitati;
|
|
556
|
+
var sliderData = props.sliderData;
|
|
556
557
|
|
|
557
558
|
|
|
558
559
|
var targeting = getTargeting(props);
|
|
560
|
+
//remove slider data if toggled
|
|
561
|
+
if (article && article.documentGroup && article.documentGroup.hideSeriesSlider === true) {
|
|
562
|
+
sliderData = null;
|
|
563
|
+
}
|
|
559
564
|
//next video url
|
|
560
|
-
if (
|
|
565
|
+
if (sliderData) {
|
|
561
566
|
var nextArticle = void 0;
|
|
562
|
-
|
|
567
|
+
sliderData.forEach(function (data, index) {
|
|
563
568
|
if (data.url.current === props.article.url.current) {
|
|
564
569
|
nextArticle = index + 1;
|
|
565
570
|
}
|
|
566
571
|
});
|
|
567
572
|
|
|
568
|
-
if (nextArticle &&
|
|
569
|
-
article.nextVideo =
|
|
573
|
+
if (nextArticle && sliderData[nextArticle]) {
|
|
574
|
+
article.nextVideo = sliderData[nextArticle].url.current;
|
|
570
575
|
}
|
|
571
576
|
}
|
|
572
577
|
|
|
@@ -622,9 +627,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
622
627
|
setArticleBody = _useState10[1];
|
|
623
628
|
|
|
624
629
|
var _useState11 = useState(true),
|
|
625
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
626
|
-
_useState12[0]
|
|
627
|
-
|
|
630
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
631
|
+
previewAd = _useState12[0],
|
|
632
|
+
setPreviewAd = _useState12[1];
|
|
628
633
|
|
|
629
634
|
useEffect(function () {
|
|
630
635
|
var path = window && window.location && window.location.search;
|
|
@@ -645,7 +650,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
645
650
|
};
|
|
646
651
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
647
652
|
if (biography) {
|
|
648
|
-
return
|
|
653
|
+
return React.createElement(BlockContent, _extends({
|
|
649
654
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
650
655
|
blocks: [biography]
|
|
651
656
|
}, client.config()));
|
|
@@ -655,9 +660,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
655
660
|
var url = article.url.current;
|
|
656
661
|
|
|
657
662
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
658
|
-
return
|
|
663
|
+
return React.createElement(ISIContent, null);
|
|
659
664
|
} else if (nationalPage === url && ISIContent) {
|
|
660
|
-
return
|
|
665
|
+
return React.createElement(ISIContent, { national: true });
|
|
661
666
|
}
|
|
662
667
|
return null;
|
|
663
668
|
};
|
|
@@ -750,20 +755,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
750
755
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
751
756
|
}
|
|
752
757
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
753
|
-
return
|
|
758
|
+
return React.createElement(
|
|
754
759
|
'div',
|
|
755
760
|
null,
|
|
756
761
|
relatedLinks.map(function (relatedLink, index) {
|
|
757
762
|
if (relatedLink && relatedLink.href && relatedLink.label) {
|
|
758
|
-
return
|
|
763
|
+
return React.createElement(
|
|
759
764
|
'span',
|
|
760
765
|
{ key: index, className: 'related-link' },
|
|
761
|
-
|
|
766
|
+
React.createElement(
|
|
762
767
|
'a',
|
|
763
768
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
764
769
|
relatedLink.label
|
|
765
770
|
),
|
|
766
|
-
|
|
771
|
+
React.createElement(
|
|
767
772
|
'style',
|
|
768
773
|
{ jsx: 'true' },
|
|
769
774
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -779,23 +784,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
779
784
|
};
|
|
780
785
|
|
|
781
786
|
var RelatedContent = function RelatedContent() {
|
|
782
|
-
return
|
|
787
|
+
return React.createElement(
|
|
783
788
|
'section',
|
|
784
789
|
{ id: 'related-content-section', className: 'my-1' },
|
|
785
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
790
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
786
791
|
'p',
|
|
787
792
|
{ className: 'mb-0' },
|
|
788
|
-
|
|
793
|
+
React.createElement(
|
|
789
794
|
'b',
|
|
790
795
|
null,
|
|
791
796
|
'Related Content:'
|
|
792
797
|
)
|
|
793
798
|
),
|
|
794
|
-
|
|
795
|
-
|
|
799
|
+
React.createElement(RelevantTopics, null),
|
|
800
|
+
React.createElement(
|
|
796
801
|
'div',
|
|
797
802
|
{ className: 'pt-2' },
|
|
798
|
-
|
|
803
|
+
React.createElement(RelatedArticle, {
|
|
799
804
|
articles: article.relatedArticle,
|
|
800
805
|
client: client,
|
|
801
806
|
fallbackImage: props.Settings.logo,
|
|
@@ -806,28 +811,28 @@ var Article = forwardRef(function (props, ref) {
|
|
|
806
811
|
};
|
|
807
812
|
|
|
808
813
|
var form = function form() {
|
|
809
|
-
return
|
|
810
|
-
|
|
814
|
+
return React.createElement(
|
|
815
|
+
React.Fragment,
|
|
811
816
|
null,
|
|
812
|
-
|
|
817
|
+
React.createElement(
|
|
813
818
|
Head,
|
|
814
819
|
null,
|
|
815
|
-
|
|
820
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
816
821
|
),
|
|
817
|
-
|
|
822
|
+
React.createElement(
|
|
818
823
|
'div',
|
|
819
824
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
820
|
-
|
|
825
|
+
React.createElement(
|
|
821
826
|
Form,
|
|
822
827
|
{
|
|
823
828
|
inline: true,
|
|
824
829
|
onSubmit: function onSubmit(e) {
|
|
825
830
|
e.preventDefault();
|
|
826
831
|
} },
|
|
827
|
-
|
|
832
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
828
833
|
return setPasswordKey(e.target.value);
|
|
829
834
|
}, placeholder: 'Password' }),
|
|
830
|
-
|
|
835
|
+
React.createElement(
|
|
831
836
|
Button,
|
|
832
837
|
{
|
|
833
838
|
variant: 'primary',
|
|
@@ -877,31 +882,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
877
882
|
setContextualADFlag(true);
|
|
878
883
|
}
|
|
879
884
|
};
|
|
880
|
-
return
|
|
881
|
-
|
|
885
|
+
return React.createElement(
|
|
886
|
+
React.Fragment,
|
|
882
887
|
null,
|
|
883
|
-
|
|
888
|
+
React.createElement(BlockContent, _extends({
|
|
884
889
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
885
890
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
886
891
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
887
892
|
}, client.config())),
|
|
888
|
-
|
|
889
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
890
|
-
|
|
893
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
894
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
895
|
+
React.createElement(
|
|
891
896
|
'div',
|
|
892
897
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
893
|
-
|
|
898
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
894
899
|
refreshFlag: refreshFlag
|
|
895
900
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
896
901
|
}))
|
|
897
902
|
),
|
|
898
|
-
|
|
899
|
-
|
|
903
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
904
|
+
React.createElement(
|
|
900
905
|
'div',
|
|
901
906
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
902
|
-
|
|
907
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
903
908
|
),
|
|
904
|
-
|
|
909
|
+
React.createElement(BlockContent, _extends({
|
|
905
910
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
906
911
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
907
912
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -926,26 +931,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
926
931
|
if (seriesInfo.hasVideo) {
|
|
927
932
|
_selectedIndex = seriesInfo.videoIndex;
|
|
928
933
|
}
|
|
929
|
-
return
|
|
930
|
-
|
|
934
|
+
return React.createElement(
|
|
935
|
+
React.Fragment,
|
|
931
936
|
null,
|
|
932
|
-
|
|
937
|
+
React.createElement(BlockContent, _extends({
|
|
933
938
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
934
939
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
935
940
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
936
941
|
}, client.config())),
|
|
937
|
-
contextualADFlag &&
|
|
938
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
939
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
942
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
943
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
944
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
940
945
|
'div',
|
|
941
946
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
942
|
-
|
|
947
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
943
948
|
refreshFlag: refreshFlag
|
|
944
949
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
945
950
|
}))
|
|
946
951
|
),
|
|
947
|
-
contextualADFlag &&
|
|
948
|
-
|
|
952
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
953
|
+
React.createElement(BlockContent, _extends({
|
|
949
954
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
950
955
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
951
956
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -975,22 +980,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
975
980
|
}
|
|
976
981
|
};
|
|
977
982
|
|
|
978
|
-
return
|
|
979
|
-
|
|
983
|
+
return React.createElement(
|
|
984
|
+
React.Fragment,
|
|
980
985
|
null,
|
|
981
|
-
|
|
986
|
+
React.createElement(BlockContent, _extends({
|
|
982
987
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
983
988
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
984
989
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
985
990
|
}, client.config())),
|
|
986
|
-
|
|
987
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
988
|
-
|
|
991
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
992
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
993
|
+
React.createElement(
|
|
989
994
|
'div',
|
|
990
995
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
991
|
-
|
|
996
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
992
997
|
),
|
|
993
|
-
|
|
998
|
+
React.createElement(BlockContent, _extends({
|
|
994
999
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
995
1000
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
996
1001
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1002,16 +1007,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1002
1007
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1003
1008
|
}
|
|
1004
1009
|
|
|
1005
|
-
return
|
|
1010
|
+
return React.createElement(
|
|
1006
1011
|
'div',
|
|
1007
1012
|
null,
|
|
1008
|
-
|
|
1013
|
+
React.createElement(BlockContent, _extends({
|
|
1009
1014
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1010
1015
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1011
1016
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1012
1017
|
}, client.config())),
|
|
1013
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1014
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1018
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1019
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1015
1020
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1016
1021
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1017
1022
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1069,8 +1074,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1069
1074
|
shareSubject = shareOptions.shareSubject,
|
|
1070
1075
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
1071
1076
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
1072
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
1073
|
-
shareOptions.shareSiteTitle;
|
|
1077
|
+
shareBaseUrl = shareOptions.shareBaseUrl,
|
|
1078
|
+
shareSiteTitle = shareOptions.shareSiteTitle;
|
|
1074
1079
|
|
|
1075
1080
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
1076
1081
|
var shareTitle = article.title;
|
|
@@ -1106,14 +1111,14 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1106
1111
|
// pixels from bottom of window to change trigger visibility change
|
|
1107
1112
|
var triggerOffset = 20;
|
|
1108
1113
|
var isVideoSeries = checkIfVideoSeries(article);
|
|
1109
|
-
var episodeNumber = fetchCurrentEpisode(
|
|
1114
|
+
var episodeNumber = fetchCurrentEpisode(sliderData, props.article);
|
|
1110
1115
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1111
1116
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1112
1117
|
var isFormAssembly = checkIfFormAssembly(article);
|
|
1113
|
-
return
|
|
1114
|
-
|
|
1118
|
+
return React.createElement(
|
|
1119
|
+
React.Fragment,
|
|
1115
1120
|
null,
|
|
1116
|
-
|
|
1121
|
+
React.createElement(
|
|
1117
1122
|
VisibilitySensor,
|
|
1118
1123
|
{
|
|
1119
1124
|
partialVisibility: true,
|
|
@@ -1129,44 +1134,44 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1129
1134
|
});
|
|
1130
1135
|
}
|
|
1131
1136
|
} },
|
|
1132
|
-
|
|
1137
|
+
React.createElement(
|
|
1133
1138
|
'div',
|
|
1134
1139
|
{ id: 'article__block', ref: ref },
|
|
1135
|
-
|
|
1140
|
+
React.createElement(
|
|
1136
1141
|
'div',
|
|
1137
1142
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1138
1143
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1139
|
-
!isVideoSeries &&
|
|
1144
|
+
!isVideoSeries && React.createElement(
|
|
1140
1145
|
'div',
|
|
1141
1146
|
null,
|
|
1142
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1147
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1143
1148
|
'p',
|
|
1144
1149
|
{ style: { fontSize: '14px' } },
|
|
1145
1150
|
article.documentGroup.name,
|
|
1146
1151
|
' - Episode ',
|
|
1147
1152
|
episodeNumber
|
|
1148
1153
|
),
|
|
1149
|
-
|
|
1154
|
+
React.createElement(
|
|
1150
1155
|
'h1',
|
|
1151
1156
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1152
1157
|
title
|
|
1153
1158
|
)
|
|
1154
1159
|
),
|
|
1155
|
-
|
|
1160
|
+
React.createElement(
|
|
1156
1161
|
'div',
|
|
1157
1162
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1158
|
-
|
|
1163
|
+
React.createElement(
|
|
1159
1164
|
'style',
|
|
1160
1165
|
{ jsx: 'true' },
|
|
1161
1166
|
'\n @media screen and (max-width: 468px) {\n .video-detail .doc-group-container {\n flex-direction: column;\n align-items: flex-start !important;\n }\n .video-detail .doc-group {\n margin-top: 2rem;\n width: calc(100vw - 45px);\n align-items: center;\n }\n .video-detail .doc-group img,\n .doc-group p {\n max-width: calc(100vw - 45px) !important;\n }\n }\n .author-details-img {\n margin-right: 10px;\n max-height: 250px;\n min-height: 150px;\n max-width: 250px;\n min-width: 150px;\n width: 100%;\n height: 100%;\n object-fit: contain;\n }\n .author-details-img-container {\n text-align: center;\n }\n .author-details-col {\n padding-left: 25px;\n }\n '
|
|
1162
1167
|
),
|
|
1163
|
-
|
|
1168
|
+
React.createElement(
|
|
1164
1169
|
'div',
|
|
1165
1170
|
{ className: 'left-wrap' },
|
|
1166
|
-
!isVideoSeries && !isFormAssembly && showPublished &&
|
|
1171
|
+
!isVideoSeries && !isFormAssembly && showPublished && React.createElement(
|
|
1167
1172
|
'div',
|
|
1168
1173
|
null,
|
|
1169
|
-
|
|
1174
|
+
React.createElement(
|
|
1170
1175
|
'time',
|
|
1171
1176
|
{
|
|
1172
1177
|
className: 'meta-date',
|
|
@@ -1176,20 +1181,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1176
1181
|
)
|
|
1177
1182
|
/* Show Published date */
|
|
1178
1183
|
,
|
|
1179
|
-
|
|
1184
|
+
React.createElement(
|
|
1180
1185
|
'div',
|
|
1181
1186
|
{ className: 'mb-3' },
|
|
1182
1187
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1183
|
-
return
|
|
1188
|
+
return React.createElement(
|
|
1184
1189
|
'span',
|
|
1185
1190
|
{ key: index },
|
|
1186
1191
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: props.client, source: authorDetail.profileImage, imageHeight: authorImgHeight }), showAuthorDetails)
|
|
1187
1192
|
);
|
|
1188
1193
|
}),
|
|
1189
|
-
|
|
1194
|
+
React.createElement(
|
|
1190
1195
|
'div',
|
|
1191
1196
|
null,
|
|
1192
|
-
source &&
|
|
1197
|
+
source && React.createElement(
|
|
1193
1198
|
'p',
|
|
1194
1199
|
{
|
|
1195
1200
|
style: {
|
|
@@ -1204,13 +1209,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1204
1209
|
source
|
|
1205
1210
|
)
|
|
1206
1211
|
),
|
|
1207
|
-
issue &&
|
|
1212
|
+
issue && React.createElement(
|
|
1208
1213
|
'div',
|
|
1209
1214
|
{ className: 'volume-issue' },
|
|
1210
|
-
issue.publication && issue.publication.name &&
|
|
1215
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1211
1216
|
'span',
|
|
1212
1217
|
{ className: 'mb-0' },
|
|
1213
|
-
|
|
1218
|
+
React.createElement(
|
|
1214
1219
|
'b',
|
|
1215
1220
|
null,
|
|
1216
1221
|
issue.publication.name
|
|
@@ -1218,34 +1223,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1218
1223
|
',',
|
|
1219
1224
|
' '
|
|
1220
1225
|
),
|
|
1221
|
-
issue.name &&
|
|
1226
|
+
issue.name && React.createElement(
|
|
1222
1227
|
'span',
|
|
1223
1228
|
{ className: 'mb-0' },
|
|
1224
1229
|
issue.name,
|
|
1225
1230
|
', '
|
|
1226
1231
|
),
|
|
1227
|
-
issue.volume &&
|
|
1232
|
+
issue.volume && React.createElement(
|
|
1228
1233
|
'span',
|
|
1229
1234
|
null,
|
|
1230
1235
|
'Volume ' + issue.volume,
|
|
1231
1236
|
','
|
|
1232
1237
|
),
|
|
1233
|
-
issue.issueNumber &&
|
|
1238
|
+
issue.issueNumber && React.createElement(
|
|
1234
1239
|
'span',
|
|
1235
1240
|
null,
|
|
1236
1241
|
' Issue ' + issue.issueNumber
|
|
1237
1242
|
)
|
|
1238
1243
|
),
|
|
1239
|
-
pageNumber &&
|
|
1244
|
+
pageNumber && React.createElement(
|
|
1240
1245
|
'div',
|
|
1241
1246
|
{ className: 'article-pageNumber' },
|
|
1242
1247
|
'Pages: ' + pageNumber
|
|
1243
1248
|
)
|
|
1244
1249
|
),
|
|
1245
|
-
!isVideoSeries && showSocialShare &&
|
|
1250
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1246
1251
|
'p',
|
|
1247
1252
|
null,
|
|
1248
|
-
|
|
1253
|
+
React.createElement(SocialShare, {
|
|
1249
1254
|
shareUrl: shareUrl,
|
|
1250
1255
|
shareTitle: shareTitle,
|
|
1251
1256
|
shareVia: shareVia,
|
|
@@ -1261,27 +1266,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1261
1266
|
})
|
|
1262
1267
|
)
|
|
1263
1268
|
),
|
|
1264
|
-
|
|
1269
|
+
React.createElement(
|
|
1265
1270
|
'div',
|
|
1266
1271
|
null,
|
|
1267
|
-
|
|
1272
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1268
1273
|
)
|
|
1269
1274
|
),
|
|
1270
|
-
!isVideoSeries && summary && display_summary &&
|
|
1275
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1271
1276
|
'p',
|
|
1272
1277
|
null,
|
|
1273
|
-
|
|
1278
|
+
React.createElement(
|
|
1274
1279
|
'em',
|
|
1275
1280
|
null,
|
|
1276
1281
|
summary
|
|
1277
1282
|
)
|
|
1278
1283
|
),
|
|
1279
|
-
|
|
1284
|
+
React.createElement(
|
|
1280
1285
|
'div',
|
|
1281
1286
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1282
|
-
|
|
1287
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1283
1288
|
if (index === 0) {
|
|
1284
|
-
return
|
|
1289
|
+
return React.createElement(
|
|
1285
1290
|
'div',
|
|
1286
1291
|
{
|
|
1287
1292
|
key: index,
|
|
@@ -1298,24 +1303,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1298
1303
|
}
|
|
1299
1304
|
})
|
|
1300
1305
|
),
|
|
1301
|
-
|
|
1306
|
+
React.createElement(
|
|
1302
1307
|
'div',
|
|
1303
1308
|
{ className: 'block-content mt-3' },
|
|
1304
1309
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1305
|
-
|
|
1306
|
-
|
|
1310
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1311
|
+
React.createElement(
|
|
1307
1312
|
'noscript',
|
|
1308
1313
|
null,
|
|
1309
|
-
|
|
1314
|
+
React.createElement(
|
|
1310
1315
|
'div',
|
|
1311
1316
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1312
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1317
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1313
1318
|
'a',
|
|
1314
1319
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1315
1320
|
'Previous ',
|
|
1316
1321
|
props.article.seriesDetail.type
|
|
1317
1322
|
),
|
|
1318
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1323
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1319
1324
|
'a',
|
|
1320
1325
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1321
1326
|
'Next ',
|
|
@@ -1323,37 +1328,37 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1323
1328
|
)
|
|
1324
1329
|
)
|
|
1325
1330
|
),
|
|
1326
|
-
|
|
1331
|
+
React.createElement(
|
|
1327
1332
|
'div',
|
|
1328
1333
|
{ className: 'downloads-container' },
|
|
1329
|
-
issue && downloadCitation && (!issue.hasOwnProperty('show_download_ris_button') || issue.show_download_ris_button !== false) && (!issue.publication || !issue.publication.hasOwnProperty('show_download_ris_button') || issue.publication.show_download_ris_button !== false) &&
|
|
1334
|
+
issue && downloadCitation && (!issue.hasOwnProperty('show_download_ris_button') || issue.show_download_ris_button !== false) && (!issue.publication || !issue.publication.hasOwnProperty('show_download_ris_button') || issue.publication.show_download_ris_button !== false) && React.createElement(
|
|
1330
1335
|
Button,
|
|
1331
1336
|
{ className: 'ris-download-button', onClick: function onClick() {
|
|
1332
1337
|
return downloadRIS();
|
|
1333
1338
|
} },
|
|
1334
1339
|
'Download RIS'
|
|
1335
1340
|
),
|
|
1336
|
-
issue && issue.pdf &&
|
|
1341
|
+
issue && issue.pdf && React.createElement(
|
|
1337
1342
|
'a',
|
|
1338
1343
|
{ rel: 'noopener', href: urlForFile({ asset: issue.pdf }), target: '_blank', title: 'Download issue' },
|
|
1339
|
-
|
|
1344
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1340
1345
|
'Download Issue : ',
|
|
1341
1346
|
issue.name
|
|
1342
1347
|
)
|
|
1343
1348
|
)
|
|
1344
1349
|
),
|
|
1345
|
-
|
|
1346
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1350
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1351
|
+
article.documentGroup && article.documentGroup.isSeries && sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1347
1352
|
'div',
|
|
1348
1353
|
null,
|
|
1349
1354
|
false ,
|
|
1350
|
-
|
|
1355
|
+
React.createElement(SeriesSlider, { dataset: sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1351
1356
|
),
|
|
1352
|
-
showRelatedArticles && !showIsi &&
|
|
1353
|
-
disqusConfig && showDisqus &&
|
|
1357
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1358
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1354
1359
|
'div',
|
|
1355
1360
|
{ id: 'disqusContainer' },
|
|
1356
|
-
|
|
1361
|
+
React.createElement(DiscussionEmbed, {
|
|
1357
1362
|
shortname: disqusConfig.shortname,
|
|
1358
1363
|
config: {
|
|
1359
1364
|
url: disqusConfig.url,
|
|
@@ -1366,30 +1371,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1366
1371
|
renderIsiContent(props.article)
|
|
1367
1372
|
)
|
|
1368
1373
|
),
|
|
1369
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1374
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1370
1375
|
ISI,
|
|
1371
1376
|
null,
|
|
1372
|
-
|
|
1377
|
+
React.createElement(BlockContent, {
|
|
1373
1378
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1374
1379
|
blocks: isi
|
|
1375
1380
|
})
|
|
1376
1381
|
),
|
|
1377
|
-
|
|
1382
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1378
1383
|
if (index > 0) {
|
|
1379
|
-
return
|
|
1384
|
+
return React.createElement(
|
|
1380
1385
|
'div',
|
|
1381
1386
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1382
1387
|
ad.component
|
|
1383
1388
|
);
|
|
1384
1389
|
}
|
|
1385
1390
|
}),
|
|
1386
|
-
|
|
1391
|
+
React.createElement(
|
|
1387
1392
|
'noscript',
|
|
1388
1393
|
null,
|
|
1389
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1394
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1390
1395
|
'div',
|
|
1391
1396
|
{ style: { textAlign: 'center' } },
|
|
1392
|
-
|
|
1397
|
+
React.createElement(
|
|
1393
1398
|
'a',
|
|
1394
1399
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1395
1400
|
'Related Article ',
|
|
@@ -1397,8 +1402,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1397
1402
|
)
|
|
1398
1403
|
)
|
|
1399
1404
|
),
|
|
1400
|
-
props.infiniteScroll &&
|
|
1401
|
-
|
|
1405
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1406
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1402
1407
|
);
|
|
1403
1408
|
};
|
|
1404
1409
|
|
|
@@ -1413,7 +1418,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1413
1418
|
}
|
|
1414
1419
|
});
|
|
1415
1420
|
|
|
1416
|
-
var _this
|
|
1421
|
+
var _this = undefined;
|
|
1417
1422
|
|
|
1418
1423
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1419
1424
|
var router = useRouter();
|
|
@@ -1422,9 +1427,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1422
1427
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1423
1428
|
Ads = props.Ads,
|
|
1424
1429
|
_props$maxListLength = props.maxListLength,
|
|
1425
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1426
|
-
props.sponsoredTaxonomies
|
|
1427
|
-
|
|
1430
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength,
|
|
1431
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1432
|
+
_props$cpModification = props.cpModificationRequired,
|
|
1428
1433
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1429
1434
|
_props$authorPrefix = props.authorPrefix,
|
|
1430
1435
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1480,7 +1485,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1480
1485
|
return item.url.current === path;
|
|
1481
1486
|
});
|
|
1482
1487
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1483
|
-
if (!
|
|
1488
|
+
if (!main_40) {
|
|
1484
1489
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1485
1490
|
if (window.googletag && googletag.pubadsReady) {
|
|
1486
1491
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1497,7 +1502,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1497
1502
|
});
|
|
1498
1503
|
}
|
|
1499
1504
|
//Refresh leaderboard ad on mobile
|
|
1500
|
-
if (
|
|
1505
|
+
if (main_40) {
|
|
1501
1506
|
var leaderboardSlotId = '';
|
|
1502
1507
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1503
1508
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1601,7 +1606,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1601
1606
|
return _context.stop();
|
|
1602
1607
|
}
|
|
1603
1608
|
}
|
|
1604
|
-
}, _callee, _this
|
|
1609
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1605
1610
|
}));
|
|
1606
1611
|
|
|
1607
1612
|
return function loadmore() {
|
|
@@ -1679,14 +1684,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1679
1684
|
refreshAD(path);
|
|
1680
1685
|
};
|
|
1681
1686
|
|
|
1682
|
-
return
|
|
1687
|
+
return React.createElement(
|
|
1683
1688
|
InfiniteScroll,
|
|
1684
1689
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1685
1690
|
queueData.map(function (article, index) {
|
|
1686
|
-
return
|
|
1687
|
-
|
|
1691
|
+
return React.createElement(
|
|
1692
|
+
React.Fragment,
|
|
1688
1693
|
{ key: index },
|
|
1689
|
-
|
|
1694
|
+
React.createElement(Article, _extends({}, props, {
|
|
1690
1695
|
containerHeight: containerHeight,
|
|
1691
1696
|
onChangeArticle: onChangeArticle,
|
|
1692
1697
|
authorPrfix: authorPrefix,
|
|
@@ -1702,7 +1707,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1702
1707
|
);
|
|
1703
1708
|
};
|
|
1704
1709
|
|
|
1705
|
-
var _this = undefined;
|
|
1710
|
+
var _this$1 = undefined;
|
|
1706
1711
|
|
|
1707
1712
|
var View = function View(props) {
|
|
1708
1713
|
var router = useRouter();
|
|
@@ -1712,9 +1717,9 @@ var View = function View(props) {
|
|
|
1712
1717
|
hideComments = _props$article.hideComments,
|
|
1713
1718
|
content_placement = _props$article.content_placement,
|
|
1714
1719
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1715
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1716
|
-
props.sponsoredTaxonomies
|
|
1717
|
-
|
|
1720
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
1721
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1722
|
+
Ads = props.Ads,
|
|
1718
1723
|
setCustomDimensions = props.setCustomDimensions,
|
|
1719
1724
|
statusCode = props.statusCode,
|
|
1720
1725
|
prevUrl = props.prevUrl,
|
|
@@ -1727,9 +1732,9 @@ var View = function View(props) {
|
|
|
1727
1732
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1728
1733
|
var _props$article2 = props.article,
|
|
1729
1734
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1730
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1731
|
-
_props$article2.description
|
|
1732
|
-
|
|
1735
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw,
|
|
1736
|
+
description = _props$article2.description,
|
|
1737
|
+
title = _props$article2.title,
|
|
1733
1738
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1734
1739
|
|
|
1735
1740
|
var _useState = useState(0),
|
|
@@ -1785,6 +1790,7 @@ var View = function View(props) {
|
|
|
1785
1790
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !disableInfiniteScroll && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1786
1791
|
|
|
1787
1792
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1793
|
+
description = null;
|
|
1788
1794
|
title = null;
|
|
1789
1795
|
}
|
|
1790
1796
|
|
|
@@ -1828,63 +1834,63 @@ var View = function View(props) {
|
|
|
1828
1834
|
|
|
1829
1835
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1830
1836
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1831
|
-
return
|
|
1832
|
-
|
|
1837
|
+
return React.createElement(
|
|
1838
|
+
React.Fragment,
|
|
1833
1839
|
null,
|
|
1834
|
-
|
|
1840
|
+
React.createElement(
|
|
1835
1841
|
Head,
|
|
1836
1842
|
null,
|
|
1837
|
-
|
|
1843
|
+
React.createElement(
|
|
1838
1844
|
'title',
|
|
1839
1845
|
{ key: 'title' },
|
|
1840
1846
|
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 : '')
|
|
1841
1847
|
),
|
|
1842
|
-
metaDescriptionSanity ?
|
|
1843
|
-
|
|
1844
|
-
passwordLock &&
|
|
1845
|
-
|
|
1848
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1849
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1850
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1851
|
+
React.createElement('meta', {
|
|
1846
1852
|
property: 'og:url',
|
|
1847
1853
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1848
1854
|
key: 'og:url'
|
|
1849
1855
|
}),
|
|
1850
|
-
|
|
1856
|
+
React.createElement('meta', {
|
|
1851
1857
|
property: 'og:title',
|
|
1852
1858
|
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 : ''),
|
|
1853
1859
|
key: 'og:title'
|
|
1854
1860
|
}),
|
|
1855
|
-
|
|
1861
|
+
React.createElement('meta', {
|
|
1856
1862
|
property: 'og:image',
|
|
1857
1863
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1858
1864
|
key: 'og:image'
|
|
1859
1865
|
}),
|
|
1860
|
-
|
|
1861
|
-
metaDescriptionSanity ?
|
|
1862
|
-
|
|
1863
|
-
|
|
1866
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1867
|
+
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 }),
|
|
1868
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1869
|
+
React.createElement('meta', {
|
|
1864
1870
|
name: 'twitter:title',
|
|
1865
1871
|
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 : ''),
|
|
1866
1872
|
key: 'twitter:title'
|
|
1867
1873
|
}),
|
|
1868
|
-
|
|
1874
|
+
React.createElement('meta', {
|
|
1869
1875
|
name: 'twitter:image',
|
|
1870
1876
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1871
1877
|
key: 'twitter:image'
|
|
1872
1878
|
}),
|
|
1873
|
-
|
|
1874
|
-
metaDescriptionSanity ?
|
|
1875
|
-
canonicalTag &&
|
|
1879
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1880
|
+
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 }),
|
|
1881
|
+
canonicalTag && React.createElement('link', {
|
|
1876
1882
|
rel: 'canonical',
|
|
1877
1883
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1878
1884
|
key: 'canonical'
|
|
1879
1885
|
}),
|
|
1880
|
-
|
|
1886
|
+
React.createElement(
|
|
1881
1887
|
'noscript',
|
|
1882
1888
|
null,
|
|
1883
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1884
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1889
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1890
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1885
1891
|
)
|
|
1886
1892
|
),
|
|
1887
|
-
!needInfiniteScroll ?
|
|
1893
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1888
1894
|
infiniteScroll: true,
|
|
1889
1895
|
showRelatedArticles: showRelatedArticles,
|
|
1890
1896
|
canonicalTag: canonicalTag,
|
|
@@ -2021,7 +2027,7 @@ View.returnGetInitialProps = function () {
|
|
|
2021
2027
|
return _context.stop();
|
|
2022
2028
|
}
|
|
2023
2029
|
}
|
|
2024
|
-
}, _callee, _this);
|
|
2030
|
+
}, _callee, _this$1);
|
|
2025
2031
|
}));
|
|
2026
2032
|
|
|
2027
2033
|
return function (_x, _x2, _x3, _x4, _x5) {
|