@mjhls/mjh-framework 1.0.874 → 1.0.875-beta.1
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 +168 -168
- package/dist/cjs/AD.js +9 -10
- package/dist/cjs/AD300x250.js +28 -29
- package/dist/cjs/AD300x250x600.js +28 -29
- package/dist/cjs/AD728x90.js +31 -32
- package/dist/cjs/ADFloatingFooter.js +30 -31
- package/dist/cjs/ADFooter.js +12 -13
- package/dist/cjs/ADGutter.js +30 -31
- package/dist/cjs/{ADInfeed-b9e5ff3f.js → ADInfeed-c628363f.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +30 -31
- package/dist/cjs/ADSponsoredResources.js +30 -31
- package/dist/cjs/ADWebcast.js +30 -31
- package/dist/cjs/ADWelcome.js +31 -32
- package/dist/cjs/{ADlgInfeed-3cdefebd.js → ADlgInfeed-a827d389.js} +10 -11
- package/dist/cjs/AccordionPanel.js +27 -29
- package/dist/cjs/AdSlot.js +33 -34
- package/dist/cjs/AdSlotsProvider.js +909 -18
- package/dist/cjs/AlgoliaSearch.js +1274 -1392
- package/dist/cjs/AlphabeticList.js +23 -24
- package/dist/cjs/ArticleCarousel.js +19 -20
- package/dist/cjs/ArticleProgramLandingPage.js +60 -61
- package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
- package/dist/cjs/ArticleSeriesListing.js +59 -60
- package/dist/cjs/Auth.js +1504 -680
- package/dist/cjs/AuthWrapper.js +267 -309
- package/dist/cjs/{AuthorComponent-39b37d84.js → AuthorComponent-02e827ae.js} +13 -14
- package/dist/cjs/Beam.js +6 -6
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +25 -27
- package/dist/cjs/CMEDeck.js +81 -81
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +31 -34
- package/dist/cjs/Column3.js +57 -60
- package/dist/cjs/ConferenceArticleCard.js +40 -41
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +101 -105
- package/dist/cjs/DeckQueue.js +87 -91
- package/dist/cjs/{Dfp-9be904d5.js → Dfp-14d2455c.js} +32 -33
- package/dist/cjs/EventsDeck.js +150 -157
- package/dist/cjs/ExternalResources.js +78 -79
- package/dist/cjs/Feature.js +27 -29
- package/dist/cjs/ForbesHero.js +40 -41
- package/dist/cjs/GridContent.js +231 -236
- package/dist/cjs/GridHero.js +42 -43
- package/dist/cjs/GroupDeck.js +57 -58
- package/dist/cjs/HamMagazine.js +138 -143
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +15 -16
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +71 -72
- package/dist/cjs/HorizontalHero.js +27 -28
- package/dist/cjs/IssueContentDeck.js +71 -76
- package/dist/cjs/IssueDeck.js +70 -75
- package/dist/cjs/IssueLanding.js +91 -94
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +37 -39
- package/dist/cjs/MasterDeck.js +78 -79
- package/dist/cjs/MediaSeriesLanding.js +1127 -1118
- package/dist/cjs/NavDvm.js +72 -77
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +145 -150
- package/dist/cjs/NavNative.js +137 -145
- package/dist/cjs/OncliveHero.js +22 -22
- package/dist/cjs/OncliveLargeHero.js +70 -71
- package/dist/cjs/PageFilter.js +12 -13
- package/dist/cjs/PartnerDetailListing.js +3914 -116
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +17 -19
- package/dist/cjs/PubSection.js +38 -41
- package/dist/cjs/PubToc.js +13 -14
- package/dist/cjs/PublicationDeck.js +65 -70
- package/dist/cjs/PublicationLanding.js +134 -138
- package/dist/cjs/QueueDeckExpanded.js +1151 -1130
- package/dist/cjs/RecentNews.js +21 -22
- package/dist/cjs/RelatedContent.js +57 -58
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +16 -20
- package/dist/cjs/Segment.js +4 -4
- package/dist/cjs/SeriesListingDeck.js +36 -36
- package/dist/cjs/{SeriesSlider-ce3261cb.js → SeriesSlider-49b81b0b.js} +39 -40
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +36 -37
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-5ec44406.js → SocialSearchComponent-e8477ca3.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +61 -66
- package/dist/cjs/TaxonomyDescription.js +53 -54
- package/dist/cjs/TemplateNormal.js +72 -73
- package/dist/cjs/ThumbnailCard.js +24 -26
- package/dist/cjs/Ustream.js +27 -28
- package/dist/cjs/VerticalHero.js +19 -20
- package/dist/cjs/VideoProgramLandingPage.js +74 -78
- package/dist/cjs/VideoSeriesCard.js +32 -33
- package/dist/cjs/VideoSeriesFilter.js +16 -16
- package/dist/cjs/VideoSeriesLandingPage.js +49 -50
- package/dist/cjs/VideoSeriesListing.js +76 -77
- package/dist/cjs/View.js +265 -268
- package/dist/cjs/YahooHero.js +39 -40
- package/dist/cjs/YoutubeGroup.js +67 -68
- 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/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- 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-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{extends-7c86182f.js → extends-eed4f016.js} +7 -7
- package/dist/cjs/faundadb.js +19 -19
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +18 -18
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +43 -43
- package/dist/cjs/{getTargeting-9d509319.js → getTargeting-8874437b.js} +12 -12
- package/dist/cjs/getTargeting.js +6 -6
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-96b3db50.js} +15 -17
- package/dist/cjs/{index-fc2f1ca2.js → index-98e01cb9.js} +12 -13
- package/dist/cjs/{index-efca863c.js → index-be0c82be.js} +30 -36
- package/dist/cjs/{index-6a2a3e03.js → index-cdacba23.js} +1063 -1089
- package/dist/cjs/{index-8041a4eb.js → index-e2e62963.js} +1 -11
- package/dist/cjs/{index.es-f3e47207.js → index.es-9110add6.js} +12 -31
- package/dist/cjs/{index.esm-8123cf40.js → index.esm-4d410430.js} +20 -20
- package/dist/cjs/{index.esm-974f47d9.js → index.esm-90433435.js} +15 -6
- package/dist/cjs/{index.esm-44f3e2d0.js → index.esm-e32d3e8e.js} +6 -3
- package/dist/cjs/{index.esm-05850a2f.js → index.esm-ff47db6f.js} +12 -5
- package/dist/cjs/index.js +164 -170
- package/dist/cjs/inherits-8d29278d.js +110 -0
- package/dist/cjs/{inherits-de66ea16.js → inherits-cba9c846.js} +19 -19
- 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-fc2922d0.js} +31 -128
- package/dist/cjs/main-02daeefe.js +862 -0
- package/dist/cjs/{md5-e1ca5797.js → md5-5039b1a6.js} +1 -1
- package/dist/cjs/{moment-aca40de1.js → moment-575fe24c.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-f7f48f71.js} +27 -28
- 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-5f52cf64.js} +35 -35
- package/dist/cjs/urlFor.js +6 -6
- package/dist/cjs/{ustream-api-3819e4aa.js → ustream-api-9ebe112f.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- 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 +25 -25
- package/dist/esm/AD300x250x600.js +25 -25
- package/dist/esm/AD728x90.js +28 -28
- package/dist/esm/ADFloatingFooter.js +27 -27
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +27 -27
- package/dist/esm/{ADInfeed-6c6093ae.js → ADInfeed-35a2a91f.js} +11 -11
- package/dist/esm/ADSkyscraper.js +27 -27
- package/dist/esm/ADSponsoredResources.js +27 -27
- package/dist/esm/ADWebcast.js +27 -27
- package/dist/esm/ADWelcome.js +28 -28
- package/dist/esm/{ADlgInfeed-5d7386e8.js → ADlgInfeed-fd34a881.js} +8 -8
- package/dist/esm/AccordionPanel.js +22 -22
- package/dist/esm/AdSlot.js +25 -25
- package/dist/esm/AdSlotsProvider.js +907 -15
- package/dist/esm/AlgoliaSearch.js +703 -820
- package/dist/esm/AlphabeticList.js +20 -20
- package/dist/esm/ArticleCarousel.js +16 -16
- package/dist/esm/ArticleProgramLandingPage.js +54 -54
- package/dist/esm/ArticleSeriesLandingPage.js +35 -35
- package/dist/esm/ArticleSeriesListing.js +55 -55
- package/dist/esm/Auth.js +1487 -659
- package/dist/esm/AuthWrapper.js +265 -306
- package/dist/esm/{AuthorComponent-46a745ba.js → AuthorComponent-e6f95c2f.js} +11 -11
- package/dist/esm/Beam.js +6 -6
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-e9b4ddcf.js} +35 -35
- package/dist/esm/Breadcrumbs.js +15 -15
- package/dist/esm/CMEDeck.js +77 -77
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +28 -28
- package/dist/esm/Column3.js +54 -54
- package/dist/esm/ConferenceArticleCard.js +38 -38
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +96 -96
- package/dist/esm/DeckQueue.js +82 -82
- package/dist/esm/{Dfp-4ca12f2e.js → Dfp-f867d061.js} +20 -20
- package/dist/esm/EventsDeck.js +127 -127
- package/dist/esm/ExternalResources.js +72 -72
- package/dist/esm/Feature.js +21 -21
- package/dist/esm/ForbesHero.js +33 -33
- package/dist/esm/GridContent.js +199 -199
- package/dist/esm/GridHero.js +35 -35
- package/dist/esm/GroupDeck.js +45 -45
- package/dist/esm/HamMagazine.js +114 -114
- 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 +68 -68
- package/dist/esm/HorizontalHero.js +25 -25
- package/dist/esm/IssueContentDeck.js +59 -59
- package/dist/esm/IssueDeck.js +63 -63
- package/dist/esm/IssueLanding.js +88 -90
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +33 -33
- package/dist/esm/MasterDeck.js +75 -75
- package/dist/esm/MediaSeriesLanding.js +851 -839
- package/dist/esm/NavDvm.js +57 -57
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +124 -124
- package/dist/esm/NavNative.js +114 -114
- package/dist/esm/OncliveHero.js +20 -19
- package/dist/esm/OncliveLargeHero.js +58 -58
- package/dist/esm/PageFilter.js +10 -10
- package/dist/esm/PartnerDetailListing.js +3910 -112
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +12 -12
- package/dist/esm/PubSection.js +35 -37
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +56 -56
- package/dist/esm/PublicationLanding.js +121 -121
- package/dist/esm/QueueDeckExpanded.js +1153 -1132
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +51 -51
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +11 -11
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +30 -30
- package/dist/esm/{SeriesSlider-485f514e.js → SeriesSlider-d555a1d2.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +32 -32
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-a5b11613.js → SocialSearchComponent-d240935c.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +56 -56
- package/dist/esm/TaxonomyDescription.js +48 -48
- package/dist/esm/TemplateNormal.js +68 -68
- package/dist/esm/ThumbnailCard.js +17 -17
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +17 -17
- package/dist/esm/VideoProgramLandingPage.js +65 -65
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +13 -13
- package/dist/esm/VideoSeriesLandingPage.js +40 -40
- package/dist/esm/VideoSeriesListing.js +72 -72
- package/dist/esm/View.js +247 -246
- package/dist/esm/YahooHero.js +33 -33
- package/dist/esm/YoutubeGroup.js +52 -52
- package/dist/esm/{_is-array-893ab020.js → _is-array-4df618a6.js} +6 -6
- package/dist/esm/{_iter-detect-f089461c.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-169d6272.js → _object-sap-8b8ea5a9.js} +1 -1
- package/dist/esm/{_object-to-array-50a6b9a3.js → _object-to-array-c54dd835.js} +2 -2
- package/dist/esm/{asyncToGenerator-b4dfe691.js → asyncToGenerator-64812e90.js} +31 -31
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-e903ff31.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-99e66838.js → define-property-6d26cb48.js} +6 -6
- package/dist/esm/{defineProperty-8fa0bc8d.js → defineProperty-d7d9b577.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/{extends-dc6a71fd.js → extends-5b1796d4.js} +7 -7
- package/dist/esm/faundadb.js +5 -5
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +12 -12
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +43 -43
- package/dist/esm/{getTargeting-ff2c9409.js → getTargeting-277c801e.js} +11 -11
- package/dist/esm/getTargeting.js +6 -6
- package/dist/esm/{index-2446af28.js → index-41a678ea.js} +6 -6
- package/dist/esm/{index-35bdcc81.js → index-5f7e79e7.js} +10 -10
- package/dist/esm/{index-5bbd1562.js → index-604589b2.js} +1021 -1037
- package/dist/esm/{index-0dbff1d1.js → index-73819142.js} +30 -36
- package/dist/esm/{index-67e1773f.js → index-aaa2dae0.js} +2 -11
- package/dist/esm/{index-79cfd25c.js → index-ef6d5dcf.js} +45 -44
- package/dist/esm/{index.es-c6222053.js → index.es-29c1cef5.js} +10 -28
- package/dist/esm/{index.esm-3fdda599.js → index.esm-29e48d38.js} +15 -6
- package/dist/esm/{index.esm-a8ff922c.js → index.esm-cf08bf18.js} +12 -5
- package/dist/esm/{index.esm-c6715e80.js → index.esm-f8aaeeeb.js} +6 -3
- package/dist/esm/{index.esm-8016b507.js → index.esm-fd746768.js} +18 -17
- package/dist/esm/index.js +137 -140
- package/dist/esm/{inherits-8a801a18.js → inherits-2409637d.js} +18 -18
- package/dist/esm/inherits-77d5e4fc.js +101 -0
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-425c8ab0.js → keys-69989821.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-17fdfebb.js} +31 -128
- package/dist/esm/main-e4a934b2.js +851 -0
- package/dist/esm/{md5-4e42248e.js → md5-9be0e905.js} +1 -1
- package/dist/esm/{moment-bc12cb97.js → moment-e2f9b20c.js} +9 -11
- package/dist/esm/{react-social-icons-91f9716f.js → react-social-icons-a7d5c5c7.js} +20 -20
- package/dist/esm/{slicedToArray-ca2c8b8d.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-7b1c0e23.js → toConsumableArray-32282905.js} +7 -7
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-83d9eb10.js → typeof-c05a82ba.js} +35 -35
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-41166338.js → ustream-api-4c4fe0ba.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-fdf034f5.js → web.dom.iterable-f8f967cd.js} +2 -2
- package/package.json +112 -111
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/main-025fdc78.js +0 -973
- package/dist/esm/main-b5c5aac1.js +0 -961
- package/dist/esm/stringify-c21932b3.js +0 -15
package/dist/esm/View.js
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-dc6a71fd.js';
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-ca2c8b8d.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-c21932b3.js';
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.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-5bbd1562.js';
|
|
19
|
-
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-485f514e.js';
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-ff2c9409.js';
|
|
22
|
-
import getKeywords from './getKeywords.js';
|
|
23
|
-
import urlFor from './urlFor.js';
|
|
24
|
-
import { _ as _typeof } from './typeof-83d9eb10.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-425c8ab0.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 './core.get-iterator-method-
|
|
37
|
-
import './web.dom.iterable-fdf034f5.js';
|
|
2
|
+
import './core.get-iterator-method-86d4db69.js';
|
|
38
3
|
import './_library-528f1934.js';
|
|
39
|
-
import './_iter-detect-
|
|
40
|
-
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-5b1796d4.js';
|
|
8
|
+
import './_object-sap-8b8ea5a9.js';
|
|
9
|
+
import './inherits-2409637d.js';
|
|
10
|
+
import './define-property-6d26cb48.js';
|
|
11
|
+
import './web.dom.iterable-f8f967cd.js';
|
|
12
|
+
import { _ as _typeof } from './typeof-c05a82ba.js';
|
|
13
|
+
import './_is-array-4df618a6.js';
|
|
14
|
+
import React__default, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
15
|
+
import './events-6c3a7a63.js';
|
|
16
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
41
17
|
import 'prop-types';
|
|
42
|
-
import '
|
|
18
|
+
import 'react-bootstrap/Row';
|
|
19
|
+
import 'react-bootstrap/Col';
|
|
20
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
21
|
+
import { useRouter } from 'next/router';
|
|
22
|
+
import './isSymbol-1981418f.js';
|
|
23
|
+
import './debounce-9207d8ee.js';
|
|
24
|
+
import './toNumber-2f7a84cd.js';
|
|
25
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
43
26
|
import 'react-dom';
|
|
44
|
-
import '
|
|
45
|
-
import '
|
|
46
|
-
import './index-
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
27
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
28
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-67a08c9c.js';
|
|
29
|
+
import './index-73819142.js';
|
|
30
|
+
import urlFor from './urlFor.js';
|
|
31
|
+
import './index-5f7e79e7.js';
|
|
32
|
+
import { m as main_36 } from './main-e4a934b2.js';
|
|
33
|
+
import './entities-7cc3bf45.js';
|
|
34
|
+
import { _ as _JSON$stringify } from './stringify-70b72959.js';
|
|
35
|
+
import { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-64812e90.js';
|
|
49
36
|
import './Segment.js';
|
|
50
|
-
import './
|
|
37
|
+
import './Beam.js';
|
|
38
|
+
import DFPAdSlot from './AdSlot.js';
|
|
39
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
40
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
41
|
+
import './index-c7e2ac95.js';
|
|
42
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
51
43
|
import './GroupDeck.js';
|
|
52
|
-
import '
|
|
53
|
-
import './_is-array-893ab020.js';
|
|
54
|
-
import './_object-to-array-50a6b9a3.js';
|
|
55
|
-
import 'react-bootstrap/Pagination';
|
|
56
|
-
import './entities-932b50cf.js';
|
|
57
|
-
import 'react-bootstrap/Row';
|
|
58
|
-
import 'react-bootstrap/Col';
|
|
59
|
-
import './inherits-8a801a18.js';
|
|
60
|
-
import './_object-sap-169d6272.js';
|
|
61
|
-
import './define-property-99e66838.js';
|
|
62
|
-
import './index.esm-3fdda599.js';
|
|
44
|
+
import 'react-bootstrap';
|
|
63
45
|
import './iconBase-602d52fe.js';
|
|
46
|
+
import './index.esm-29e48d38.js';
|
|
47
|
+
import { r as renderAuthor, g as getSerializers } from './index-604589b2.js';
|
|
48
|
+
import './util-7700fc59.js';
|
|
49
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
50
|
+
import Head from 'next/head';
|
|
51
|
+
import 'react-share';
|
|
52
|
+
import SocialShare from './SocialShare.js';
|
|
53
|
+
import './_object-to-array-c54dd835.js';
|
|
54
|
+
import 'react-bootstrap/Pagination';
|
|
64
55
|
import 'react-bootstrap/Figure';
|
|
65
56
|
import 'react-bootstrap/OverlayTrigger';
|
|
66
57
|
import 'react-bootstrap/Tooltip';
|
|
67
58
|
import 'react-bootstrap/Popover';
|
|
68
|
-
import '
|
|
69
|
-
import '
|
|
70
|
-
import './
|
|
71
|
-
import '
|
|
59
|
+
import Form from 'react-bootstrap/Form';
|
|
60
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
61
|
+
import { _ as _Object$keys } from './keys-69989821.js';
|
|
62
|
+
import 'react-bootstrap/Dropdown';
|
|
63
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
64
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
72
65
|
import './index-db3bb315.js';
|
|
66
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
67
|
+
import getQuery from './getQuery.js';
|
|
68
|
+
import { S as SeriesSlider } from './SeriesSlider-d555a1d2.js';
|
|
69
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-277c801e.js';
|
|
70
|
+
import getKeywords from './getKeywords.js';
|
|
71
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
72
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
73
73
|
|
|
74
74
|
var getArticleSummary = function getArticleSummary(article) {
|
|
75
75
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -147,17 +147,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
147
147
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
return
|
|
150
|
+
return React__default.createElement(
|
|
151
151
|
'a',
|
|
152
152
|
{
|
|
153
153
|
href: url,
|
|
154
154
|
className: 'doc-group',
|
|
155
155
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
156
|
-
thumbnailUrl &&
|
|
157
|
-
!thumbnailUrl &&
|
|
158
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
156
|
+
thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
157
|
+
!thumbnailUrl && React__default.createElement('p', {
|
|
158
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_36 ? 'left' : 'right', marginTop: '.25rem' },
|
|
159
159
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
160
|
-
|
|
160
|
+
main_36 && !thumbnailUrl && React__default.createElement(
|
|
161
161
|
'style',
|
|
162
162
|
{ jsx: 'true' },
|
|
163
163
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -297,38 +297,38 @@ var ISI = function ISI(props) {
|
|
|
297
297
|
}, 300);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
|
-
return
|
|
301
|
-
|
|
300
|
+
return React__default.createElement(
|
|
301
|
+
React__default.Fragment,
|
|
302
302
|
null,
|
|
303
|
-
|
|
303
|
+
React__default.createElement(
|
|
304
304
|
'div',
|
|
305
305
|
{ id: 'isi', ref: isi },
|
|
306
|
-
|
|
306
|
+
React__default.createElement(
|
|
307
307
|
'div',
|
|
308
308
|
{ id: 'isiContent' },
|
|
309
|
-
|
|
309
|
+
React__default.createElement(
|
|
310
310
|
'div',
|
|
311
311
|
{ onClick: function onClick() {
|
|
312
312
|
return setActive(function (prev) {
|
|
313
313
|
return !prev;
|
|
314
314
|
});
|
|
315
315
|
}, id: 'isiToggle' },
|
|
316
|
-
active ?
|
|
316
|
+
active ? React__default.createElement(
|
|
317
317
|
'p',
|
|
318
318
|
null,
|
|
319
319
|
'Close ',
|
|
320
|
-
|
|
321
|
-
) :
|
|
320
|
+
React__default.createElement(FaMinus, null)
|
|
321
|
+
) : React__default.createElement(
|
|
322
322
|
'p',
|
|
323
323
|
null,
|
|
324
324
|
'See More ',
|
|
325
|
-
|
|
325
|
+
React__default.createElement(FaPlus, null)
|
|
326
326
|
)
|
|
327
327
|
),
|
|
328
328
|
children
|
|
329
329
|
)
|
|
330
330
|
),
|
|
331
|
-
|
|
331
|
+
React__default.createElement(
|
|
332
332
|
'style',
|
|
333
333
|
{ jsx: true },
|
|
334
334
|
'\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 '
|
|
@@ -336,7 +336,7 @@ var ISI = function ISI(props) {
|
|
|
336
336
|
);
|
|
337
337
|
};
|
|
338
338
|
|
|
339
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin: 0 -1rem;\n}\n.RelatedArticles-module_mediaCard__3wQbn {\n margin: 0 1rem 1rem;\n width: calc(33% - 1rem);\n display: column;\n flex-direction: row;\n margin-bottom: 0.75rem;\n padding-bottom: 0.75rem;\n border-bottom: none;\n}\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\n border-bottom: none;\n}\n.RelatedArticles-module_cardTitle__3P-Ib {\n font-weight: bold;\n color: #252525;\n margin-bottom: 0.25rem;\n font-size: 15px;\n}\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\n color: #000;\n font-weight: bold;\n}\n.RelatedArticles-module_cardDate__1wOR5 {\n color: var(--dark);\n display: block;\n background: #fff !important;\n margin-bottom: 0;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 {\n display: block;\n text-align: center;\n margin-bottom: 0.5rem;\n}\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\n height: 135px;\n width: 100%;\n object-fit: cover;\n object-position: center;\n}\n@media screen and (max-width: 1064px) {\n}\n@media screen and (max-width: 968px) {\n .RelatedArticles-module_mediaContainer__10h9k {\n flex-wrap: wrap;\n }\n .RelatedArticles-module_imgWrapper__5Jx_4 {\n display: none;\n }\n .RelatedArticles-module_mediaCard__3wQbn {\n width: 100%;\n margin-bottom: 0.5rem;\n padding: 0;\n }\n .RelatedArticles-module_cardTitle__3P-Ib {\n font-size: 0.75rem;\n margin-bottom: 0;\n }\n}\n";
|
|
339
|
+
var css = ".RelatedArticles-module_mediaContainer__10h9k {\r\n display: flex;\r\n flex-direction: row;\r\n flex-wrap: nowrap;\r\n margin: 0 -1rem;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn {\r\n margin: 0 1rem 1rem;\r\n width: calc(33% - 1rem);\r\n display: column;\r\n flex-direction: row;\r\n margin-bottom: 0.75rem;\r\n padding-bottom: 0.75rem;\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_mediaCard__3wQbn:last-child {\r\n border-bottom: none;\r\n}\r\n.RelatedArticles-module_cardTitle__3P-Ib {\r\n font-weight: bold;\r\n color: #252525;\r\n margin-bottom: 0.25rem;\r\n font-size: 15px;\r\n}\r\n.RelatedArticles-module_authorListing__1EFg4 span.RelatedArticles-module_text-muted__3b0zX {\r\n color: #000;\r\n font-weight: bold;\r\n}\r\n.RelatedArticles-module_cardDate__1wOR5 {\r\n color: var(--dark);\r\n display: block;\r\n background: #fff !important;\r\n margin-bottom: 0;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: block;\r\n text-align: center;\r\n margin-bottom: 0.5rem;\r\n}\r\n.RelatedArticles-module_imgWrapper__5Jx_4 img {\r\n height: 135px;\r\n width: 100%;\r\n object-fit: cover;\r\n object-position: center;\r\n}\r\n@media screen and (max-width: 1064px) {\r\n}\r\n@media screen and (max-width: 968px) {\r\n .RelatedArticles-module_mediaContainer__10h9k {\r\n flex-wrap: wrap;\r\n }\r\n .RelatedArticles-module_imgWrapper__5Jx_4 {\r\n display: none;\r\n }\r\n .RelatedArticles-module_mediaCard__3wQbn {\r\n width: 100%;\r\n margin-bottom: 0.5rem;\r\n padding: 0;\r\n }\r\n .RelatedArticles-module_cardTitle__3P-Ib {\r\n font-size: 0.75rem;\r\n margin-bottom: 0;\r\n }\r\n}\r\n";
|
|
340
340
|
var styles = { "mediaContainer": "RelatedArticles-module_mediaContainer__10h9k", "mediaCard": "RelatedArticles-module_mediaCard__3wQbn", "cardTitle": "RelatedArticles-module_cardTitle__3P-Ib", "authorListing": "RelatedArticles-module_authorListing__1EFg4", "text-muted": "RelatedArticles-module_text-muted__3b0zX", "cardDate": "RelatedArticles-module_cardDate__1wOR5", "imgWrapper": "RelatedArticles-module_imgWrapper__5Jx_4" };
|
|
341
341
|
styleInject(css);
|
|
342
342
|
|
|
@@ -350,33 +350,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
350
350
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
351
351
|
return null;
|
|
352
352
|
}
|
|
353
|
-
return
|
|
353
|
+
return React__default.createElement(
|
|
354
354
|
'div',
|
|
355
355
|
{ className: styles.mediaContainer },
|
|
356
356
|
articles.map(function (article, index) {
|
|
357
|
-
return
|
|
357
|
+
return React__default.createElement(
|
|
358
358
|
'div',
|
|
359
359
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
360
|
-
|
|
360
|
+
React__default.createElement(
|
|
361
361
|
'a',
|
|
362
362
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
363
|
-
article.thumbnail ?
|
|
363
|
+
article.thumbnail ? React__default.createElement('img', {
|
|
364
364
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
365
365
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
366
366
|
alt: article.title
|
|
367
|
-
}) :
|
|
368
|
-
|
|
367
|
+
}) : React__default.createElement(
|
|
368
|
+
React__default.Fragment,
|
|
369
369
|
null,
|
|
370
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
370
|
+
fallbackImage && showRelatedArticleFallbackImage && React__default.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
371
371
|
)
|
|
372
372
|
),
|
|
373
|
-
|
|
373
|
+
React__default.createElement(
|
|
374
374
|
'div',
|
|
375
375
|
{ className: styles.mediaBody },
|
|
376
|
-
|
|
376
|
+
React__default.createElement(
|
|
377
377
|
'a',
|
|
378
378
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
379
|
-
|
|
379
|
+
React__default.createElement(
|
|
380
380
|
'div',
|
|
381
381
|
{ className: styles.cardTitle },
|
|
382
382
|
article.title
|
|
@@ -511,7 +511,7 @@ function generateSchema(props) {
|
|
|
511
511
|
}
|
|
512
512
|
|
|
513
513
|
var Schema = function Schema(props) {
|
|
514
|
-
return
|
|
514
|
+
return React__default.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
515
515
|
};
|
|
516
516
|
|
|
517
517
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -619,9 +619,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
619
619
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
620
620
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
621
621
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
622
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
623
|
-
props.active
|
|
624
|
-
|
|
622
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh,
|
|
623
|
+
active = props.active,
|
|
624
|
+
containerHeight = props.containerHeight,
|
|
625
625
|
_props$refreshFlag = props.refreshFlag,
|
|
626
626
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
627
627
|
disqusConfig = props.disqusConfig,
|
|
@@ -681,9 +681,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
681
681
|
setArticleBody = _useState10[1];
|
|
682
682
|
|
|
683
683
|
var _useState11 = useState(true),
|
|
684
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
685
|
-
_useState12[0]
|
|
686
|
-
|
|
684
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
685
|
+
previewAd = _useState12[0],
|
|
686
|
+
setPreviewAd = _useState12[1];
|
|
687
687
|
|
|
688
688
|
useEffect(function () {
|
|
689
689
|
var path = window && window.location && window.location.search;
|
|
@@ -704,7 +704,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
704
704
|
};
|
|
705
705
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
706
706
|
if (biography) {
|
|
707
|
-
return
|
|
707
|
+
return React__default.createElement(BlockContent, _extends({
|
|
708
708
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
709
709
|
blocks: [biography]
|
|
710
710
|
}, client.config()));
|
|
@@ -714,9 +714,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
714
714
|
var url = article.url.current;
|
|
715
715
|
|
|
716
716
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
717
|
-
return
|
|
717
|
+
return React__default.createElement(ISIContent, null);
|
|
718
718
|
} else if (nationalPage === url && ISIContent) {
|
|
719
|
-
return
|
|
719
|
+
return React__default.createElement(ISIContent, { national: true });
|
|
720
720
|
}
|
|
721
721
|
return null;
|
|
722
722
|
};
|
|
@@ -750,19 +750,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
750
750
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
751
751
|
}
|
|
752
752
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
753
|
-
return
|
|
753
|
+
return React__default.createElement(
|
|
754
754
|
'div',
|
|
755
755
|
null,
|
|
756
756
|
relatedLinks.map(function (relatedLink, index) {
|
|
757
|
-
return
|
|
757
|
+
return React__default.createElement(
|
|
758
758
|
'span',
|
|
759
759
|
{ key: index, className: 'related-link' },
|
|
760
|
-
|
|
760
|
+
React__default.createElement(
|
|
761
761
|
'a',
|
|
762
762
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
763
763
|
relatedLink.label
|
|
764
764
|
),
|
|
765
|
-
|
|
765
|
+
React__default.createElement(
|
|
766
766
|
'style',
|
|
767
767
|
{ jsx: 'true' },
|
|
768
768
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -777,23 +777,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
777
777
|
};
|
|
778
778
|
|
|
779
779
|
var RelatedContent = function RelatedContent() {
|
|
780
|
-
return
|
|
780
|
+
return React__default.createElement(
|
|
781
781
|
'section',
|
|
782
782
|
{ id: 'related-content-section', className: 'my-1' },
|
|
783
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
783
|
+
(article.relatedArticle || RelevantTopics()) && React__default.createElement(
|
|
784
784
|
'p',
|
|
785
785
|
{ className: 'mb-0' },
|
|
786
|
-
|
|
786
|
+
React__default.createElement(
|
|
787
787
|
'b',
|
|
788
788
|
null,
|
|
789
789
|
'Related Content:'
|
|
790
790
|
)
|
|
791
791
|
),
|
|
792
|
-
|
|
793
|
-
|
|
792
|
+
React__default.createElement(RelevantTopics, null),
|
|
793
|
+
React__default.createElement(
|
|
794
794
|
'div',
|
|
795
795
|
{ className: 'pt-2' },
|
|
796
|
-
|
|
796
|
+
React__default.createElement(RelatedArticle, {
|
|
797
797
|
articles: article.relatedArticle,
|
|
798
798
|
client: client,
|
|
799
799
|
fallbackImage: props.Settings.logo,
|
|
@@ -804,29 +804,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
804
804
|
};
|
|
805
805
|
|
|
806
806
|
var form = function form() {
|
|
807
|
-
return
|
|
808
|
-
|
|
807
|
+
return React__default.createElement(
|
|
808
|
+
React__default.Fragment,
|
|
809
809
|
null,
|
|
810
|
-
|
|
810
|
+
React__default.createElement(
|
|
811
811
|
Head,
|
|
812
812
|
null,
|
|
813
|
-
|
|
813
|
+
React__default.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
814
814
|
),
|
|
815
|
-
|
|
815
|
+
React__default.createElement(
|
|
816
816
|
'div',
|
|
817
817
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
818
|
-
|
|
818
|
+
React__default.createElement(
|
|
819
819
|
Form,
|
|
820
820
|
{
|
|
821
821
|
inline: true,
|
|
822
822
|
onSubmit: function onSubmit(e) {
|
|
823
823
|
e.preventDefault();
|
|
824
824
|
} },
|
|
825
|
-
|
|
825
|
+
React__default.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
826
826
|
return setPasswordKey(e.target.value);
|
|
827
827
|
}, placeholder: 'Password' }),
|
|
828
|
-
|
|
829
|
-
Button,
|
|
828
|
+
React__default.createElement(
|
|
829
|
+
Button$1,
|
|
830
830
|
{
|
|
831
831
|
variant: 'primary',
|
|
832
832
|
onClick: function onClick() {
|
|
@@ -875,31 +875,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
875
875
|
setContextualADFlag(true);
|
|
876
876
|
}
|
|
877
877
|
};
|
|
878
|
-
return
|
|
879
|
-
|
|
878
|
+
return React__default.createElement(
|
|
879
|
+
React__default.Fragment,
|
|
880
880
|
null,
|
|
881
|
-
|
|
881
|
+
React__default.createElement(BlockContent, _extends({
|
|
882
882
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
883
883
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
884
884
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
885
885
|
}, client.config())),
|
|
886
|
-
|
|
887
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
888
|
-
|
|
886
|
+
React__default.createElement('span', { className: 'clearfix' }),
|
|
887
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
888
|
+
React__default.createElement(
|
|
889
889
|
'div',
|
|
890
890
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
891
|
-
|
|
891
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
892
892
|
refreshFlag: refreshFlag
|
|
893
893
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
894
894
|
}))
|
|
895
895
|
),
|
|
896
|
-
|
|
897
|
-
|
|
896
|
+
React__default.createElement('span', { className: 'clearfix' }),
|
|
897
|
+
React__default.createElement(
|
|
898
898
|
'div',
|
|
899
899
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
900
|
-
|
|
900
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
901
901
|
),
|
|
902
|
-
|
|
902
|
+
React__default.createElement(BlockContent, _extends({
|
|
903
903
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
904
904
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
905
905
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -924,26 +924,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
924
924
|
if (seriesInfo.hasVideo) {
|
|
925
925
|
_selectedIndex = seriesInfo.videoIndex;
|
|
926
926
|
}
|
|
927
|
-
return
|
|
928
|
-
|
|
927
|
+
return React__default.createElement(
|
|
928
|
+
React__default.Fragment,
|
|
929
929
|
null,
|
|
930
|
-
|
|
930
|
+
React__default.createElement(BlockContent, _extends({
|
|
931
931
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
932
932
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
933
933
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
934
934
|
}, client.config())),
|
|
935
|
-
contextualADFlag &&
|
|
936
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
937
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
935
|
+
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
936
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
937
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React__default.createElement(
|
|
938
938
|
'div',
|
|
939
939
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
940
|
-
|
|
940
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
941
941
|
refreshFlag: refreshFlag
|
|
942
942
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
943
943
|
}))
|
|
944
944
|
),
|
|
945
|
-
contextualADFlag &&
|
|
946
|
-
|
|
945
|
+
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
946
|
+
React__default.createElement(BlockContent, _extends({
|
|
947
947
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
948
948
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
949
949
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -973,22 +973,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
973
973
|
}
|
|
974
974
|
};
|
|
975
975
|
|
|
976
|
-
return
|
|
977
|
-
|
|
976
|
+
return React__default.createElement(
|
|
977
|
+
React__default.Fragment,
|
|
978
978
|
null,
|
|
979
|
-
|
|
979
|
+
React__default.createElement(BlockContent, _extends({
|
|
980
980
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
981
981
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
982
982
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
983
983
|
}, client.config())),
|
|
984
|
-
|
|
985
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
986
|
-
|
|
984
|
+
React__default.createElement('span', { className: 'clearfix' }),
|
|
985
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
986
|
+
React__default.createElement(
|
|
987
987
|
'div',
|
|
988
988
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
989
|
-
|
|
989
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
990
990
|
),
|
|
991
|
-
|
|
991
|
+
React__default.createElement(BlockContent, _extends({
|
|
992
992
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
993
993
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
994
994
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1000,16 +1000,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1000
1000
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1001
1001
|
}
|
|
1002
1002
|
|
|
1003
|
-
return
|
|
1003
|
+
return React__default.createElement(
|
|
1004
1004
|
'div',
|
|
1005
1005
|
null,
|
|
1006
|
-
|
|
1006
|
+
React__default.createElement(BlockContent, _extends({
|
|
1007
1007
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1008
1008
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1009
1009
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1010
1010
|
}, client.config())),
|
|
1011
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1012
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1011
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1012
|
+
article.documentGroup && article.documentGroup.isSeries && React__default.createElement(BlockContent, _extends({
|
|
1013
1013
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1014
1014
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1015
1015
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1054,8 +1054,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1054
1054
|
shareSubject = shareOptions.shareSubject,
|
|
1055
1055
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
1056
1056
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
1057
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
1058
|
-
shareOptions.shareSiteTitle;
|
|
1057
|
+
shareBaseUrl = shareOptions.shareBaseUrl,
|
|
1058
|
+
shareSiteTitle = shareOptions.shareSiteTitle;
|
|
1059
1059
|
|
|
1060
1060
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
1061
1061
|
var shareTitle = article.title;
|
|
@@ -1095,10 +1095,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1095
1095
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1096
1096
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1097
1097
|
|
|
1098
|
-
return
|
|
1099
|
-
|
|
1098
|
+
return React__default.createElement(
|
|
1099
|
+
React__default.Fragment,
|
|
1100
1100
|
null,
|
|
1101
|
-
|
|
1101
|
+
React__default.createElement(
|
|
1102
1102
|
VisibilitySensor,
|
|
1103
1103
|
{
|
|
1104
1104
|
partialVisibility: true,
|
|
@@ -1114,44 +1114,44 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1114
1114
|
});
|
|
1115
1115
|
}
|
|
1116
1116
|
} },
|
|
1117
|
-
|
|
1117
|
+
React__default.createElement(
|
|
1118
1118
|
'div',
|
|
1119
1119
|
{ id: 'article__block', ref: ref },
|
|
1120
|
-
|
|
1120
|
+
React__default.createElement(
|
|
1121
1121
|
'div',
|
|
1122
1122
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1123
1123
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1124
|
-
!isVideoSeries &&
|
|
1124
|
+
!isVideoSeries && React__default.createElement(
|
|
1125
1125
|
'div',
|
|
1126
1126
|
null,
|
|
1127
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1127
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React__default.createElement(
|
|
1128
1128
|
'p',
|
|
1129
1129
|
{ style: { fontSize: '14px' } },
|
|
1130
1130
|
article.documentGroup.name,
|
|
1131
1131
|
' - Episode ',
|
|
1132
1132
|
episodeNumber
|
|
1133
1133
|
),
|
|
1134
|
-
|
|
1134
|
+
React__default.createElement(
|
|
1135
1135
|
'h1',
|
|
1136
1136
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1137
1137
|
title
|
|
1138
1138
|
)
|
|
1139
1139
|
),
|
|
1140
|
-
|
|
1140
|
+
React__default.createElement(
|
|
1141
1141
|
'div',
|
|
1142
1142
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1143
|
-
|
|
1143
|
+
React__default.createElement(
|
|
1144
1144
|
'style',
|
|
1145
1145
|
{ jsx: 'true' },
|
|
1146
1146
|
'\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 '
|
|
1147
1147
|
),
|
|
1148
|
-
|
|
1148
|
+
React__default.createElement(
|
|
1149
1149
|
'div',
|
|
1150
1150
|
{ className: 'left-wrap' },
|
|
1151
|
-
!isVideoSeries && showPublished &&
|
|
1151
|
+
!isVideoSeries && showPublished && React__default.createElement(
|
|
1152
1152
|
'div',
|
|
1153
1153
|
null,
|
|
1154
|
-
|
|
1154
|
+
React__default.createElement(
|
|
1155
1155
|
'time',
|
|
1156
1156
|
{
|
|
1157
1157
|
className: 'meta-date',
|
|
@@ -1161,20 +1161,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1161
1161
|
)
|
|
1162
1162
|
/* Show Published date */
|
|
1163
1163
|
,
|
|
1164
|
-
|
|
1164
|
+
React__default.createElement(
|
|
1165
1165
|
'div',
|
|
1166
1166
|
{ className: 'mb-3' },
|
|
1167
1167
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1168
|
-
return
|
|
1168
|
+
return React__default.createElement(
|
|
1169
1169
|
'span',
|
|
1170
1170
|
{ key: index },
|
|
1171
1171
|
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)
|
|
1172
1172
|
);
|
|
1173
1173
|
}),
|
|
1174
|
-
|
|
1174
|
+
React__default.createElement(
|
|
1175
1175
|
'div',
|
|
1176
1176
|
null,
|
|
1177
|
-
source &&
|
|
1177
|
+
source && React__default.createElement(
|
|
1178
1178
|
'p',
|
|
1179
1179
|
{
|
|
1180
1180
|
style: {
|
|
@@ -1189,13 +1189,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1189
1189
|
source
|
|
1190
1190
|
)
|
|
1191
1191
|
),
|
|
1192
|
-
issue &&
|
|
1192
|
+
issue && React__default.createElement(
|
|
1193
1193
|
'div',
|
|
1194
1194
|
{ className: 'volume-issue' },
|
|
1195
|
-
issue.publication && issue.publication.name &&
|
|
1195
|
+
issue.publication && issue.publication.name && React__default.createElement(
|
|
1196
1196
|
'span',
|
|
1197
1197
|
{ className: 'mb-0' },
|
|
1198
|
-
|
|
1198
|
+
React__default.createElement(
|
|
1199
1199
|
'b',
|
|
1200
1200
|
null,
|
|
1201
1201
|
issue.publication.name
|
|
@@ -1203,34 +1203,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1203
1203
|
',',
|
|
1204
1204
|
' '
|
|
1205
1205
|
),
|
|
1206
|
-
issue.name &&
|
|
1206
|
+
issue.name && React__default.createElement(
|
|
1207
1207
|
'span',
|
|
1208
1208
|
{ className: 'mb-0' },
|
|
1209
1209
|
issue.name,
|
|
1210
1210
|
', '
|
|
1211
1211
|
),
|
|
1212
|
-
issue.volume &&
|
|
1212
|
+
issue.volume && React__default.createElement(
|
|
1213
1213
|
'span',
|
|
1214
1214
|
null,
|
|
1215
1215
|
'Volume ' + issue.volume,
|
|
1216
1216
|
','
|
|
1217
1217
|
),
|
|
1218
|
-
issue.issueNumber &&
|
|
1218
|
+
issue.issueNumber && React__default.createElement(
|
|
1219
1219
|
'span',
|
|
1220
1220
|
null,
|
|
1221
1221
|
' Issue ' + issue.issueNumber
|
|
1222
1222
|
)
|
|
1223
1223
|
),
|
|
1224
|
-
pageNumber &&
|
|
1224
|
+
pageNumber && React__default.createElement(
|
|
1225
1225
|
'div',
|
|
1226
1226
|
{ className: 'article-pageNumber' },
|
|
1227
1227
|
'Pages: ' + pageNumber
|
|
1228
1228
|
)
|
|
1229
1229
|
),
|
|
1230
|
-
!isVideoSeries && showSocialShare &&
|
|
1230
|
+
!isVideoSeries && showSocialShare && React__default.createElement(
|
|
1231
1231
|
'p',
|
|
1232
1232
|
null,
|
|
1233
|
-
|
|
1233
|
+
React__default.createElement(SocialShare, {
|
|
1234
1234
|
shareUrl: shareUrl,
|
|
1235
1235
|
shareTitle: shareTitle,
|
|
1236
1236
|
shareVia: shareVia,
|
|
@@ -1246,27 +1246,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1246
1246
|
})
|
|
1247
1247
|
)
|
|
1248
1248
|
),
|
|
1249
|
-
|
|
1249
|
+
React__default.createElement(
|
|
1250
1250
|
'div',
|
|
1251
1251
|
null,
|
|
1252
|
-
|
|
1252
|
+
React__default.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1253
1253
|
)
|
|
1254
1254
|
),
|
|
1255
|
-
!isVideoSeries && summary && display_summary &&
|
|
1255
|
+
!isVideoSeries && summary && display_summary && React__default.createElement(
|
|
1256
1256
|
'p',
|
|
1257
1257
|
null,
|
|
1258
|
-
|
|
1258
|
+
React__default.createElement(
|
|
1259
1259
|
'em',
|
|
1260
1260
|
null,
|
|
1261
1261
|
summary
|
|
1262
1262
|
)
|
|
1263
1263
|
),
|
|
1264
|
-
|
|
1264
|
+
React__default.createElement(
|
|
1265
1265
|
'div',
|
|
1266
1266
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1267
|
-
|
|
1267
|
+
main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1268
1268
|
if (index === 0) {
|
|
1269
|
-
return
|
|
1269
|
+
return React__default.createElement(
|
|
1270
1270
|
'div',
|
|
1271
1271
|
{
|
|
1272
1272
|
key: index,
|
|
@@ -1283,24 +1283,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1283
1283
|
}
|
|
1284
1284
|
})
|
|
1285
1285
|
),
|
|
1286
|
-
|
|
1286
|
+
React__default.createElement(
|
|
1287
1287
|
'div',
|
|
1288
1288
|
{ className: 'block-content mt-3' },
|
|
1289
1289
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1290
|
-
|
|
1291
|
-
|
|
1290
|
+
React__default.createElement('div', { className: 'clearfix' }),
|
|
1291
|
+
React__default.createElement(
|
|
1292
1292
|
'noscript',
|
|
1293
1293
|
null,
|
|
1294
|
-
|
|
1294
|
+
React__default.createElement(
|
|
1295
1295
|
'div',
|
|
1296
1296
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1297
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1297
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React__default.createElement(
|
|
1298
1298
|
'a',
|
|
1299
1299
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1300
1300
|
'Previous ',
|
|
1301
1301
|
props.article.seriesDetail.type
|
|
1302
1302
|
),
|
|
1303
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1303
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default.createElement(
|
|
1304
1304
|
'a',
|
|
1305
1305
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1306
1306
|
'Next ',
|
|
@@ -1308,26 +1308,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1308
1308
|
)
|
|
1309
1309
|
)
|
|
1310
1310
|
),
|
|
1311
|
-
issue && issue.url &&
|
|
1311
|
+
issue && issue.url && React__default.createElement(
|
|
1312
1312
|
'a',
|
|
1313
1313
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1314
|
-
|
|
1314
|
+
React__default.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1315
1315
|
'Download Issue : ',
|
|
1316
1316
|
issue.name
|
|
1317
1317
|
)
|
|
1318
1318
|
),
|
|
1319
|
-
|
|
1320
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1319
|
+
React__default.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1320
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React__default.createElement(
|
|
1321
1321
|
'div',
|
|
1322
1322
|
null,
|
|
1323
1323
|
false ,
|
|
1324
|
-
|
|
1324
|
+
React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1325
1325
|
),
|
|
1326
|
-
showRelatedArticles && !showIsi &&
|
|
1327
|
-
disqusConfig && showDisqus &&
|
|
1326
|
+
showRelatedArticles && !showIsi && React__default.createElement(RelatedContent, null),
|
|
1327
|
+
disqusConfig && showDisqus && React__default.createElement(
|
|
1328
1328
|
'div',
|
|
1329
1329
|
{ id: 'disqusContainer' },
|
|
1330
|
-
|
|
1330
|
+
React__default.createElement(DiscussionEmbed, {
|
|
1331
1331
|
shortname: disqusConfig.shortname,
|
|
1332
1332
|
config: {
|
|
1333
1333
|
url: disqusConfig.url,
|
|
@@ -1340,30 +1340,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1340
1340
|
renderIsiContent(props.article)
|
|
1341
1341
|
)
|
|
1342
1342
|
),
|
|
1343
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1343
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React__default.createElement(
|
|
1344
1344
|
ISI,
|
|
1345
1345
|
null,
|
|
1346
|
-
|
|
1346
|
+
React__default.createElement(BlockContent, {
|
|
1347
1347
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1348
1348
|
blocks: isi
|
|
1349
1349
|
})
|
|
1350
1350
|
),
|
|
1351
|
-
|
|
1351
|
+
main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1352
1352
|
if (index > 0) {
|
|
1353
|
-
return
|
|
1353
|
+
return React__default.createElement(
|
|
1354
1354
|
'div',
|
|
1355
1355
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1356
1356
|
ad.component
|
|
1357
1357
|
);
|
|
1358
1358
|
}
|
|
1359
1359
|
}),
|
|
1360
|
-
|
|
1360
|
+
React__default.createElement(
|
|
1361
1361
|
'noscript',
|
|
1362
1362
|
null,
|
|
1363
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1363
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React__default.createElement(
|
|
1364
1364
|
'div',
|
|
1365
1365
|
{ style: { textAlign: 'center' } },
|
|
1366
|
-
|
|
1366
|
+
React__default.createElement(
|
|
1367
1367
|
'a',
|
|
1368
1368
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1369
1369
|
'Related Article ',
|
|
@@ -1371,8 +1371,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1371
1371
|
)
|
|
1372
1372
|
)
|
|
1373
1373
|
),
|
|
1374
|
-
props.infiniteScroll &&
|
|
1375
|
-
|
|
1374
|
+
props.infiniteScroll && React__default.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1375
|
+
React__default.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1376
1376
|
);
|
|
1377
1377
|
};
|
|
1378
1378
|
|
|
@@ -1387,7 +1387,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1387
1387
|
}
|
|
1388
1388
|
});
|
|
1389
1389
|
|
|
1390
|
-
var _this
|
|
1390
|
+
var _this = undefined;
|
|
1391
1391
|
|
|
1392
1392
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1393
1393
|
var router = useRouter();
|
|
@@ -1396,9 +1396,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1396
1396
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1397
1397
|
Ads = props.Ads,
|
|
1398
1398
|
_props$maxListLength = props.maxListLength,
|
|
1399
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1400
|
-
props.sponsoredTaxonomies
|
|
1401
|
-
|
|
1399
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength,
|
|
1400
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1401
|
+
_props$cpModification = props.cpModificationRequired,
|
|
1402
1402
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1403
1403
|
_props$authorPrefix = props.authorPrefix,
|
|
1404
1404
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1447,7 +1447,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1447
1447
|
return item.url.current === path;
|
|
1448
1448
|
});
|
|
1449
1449
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1450
|
-
if (!
|
|
1450
|
+
if (!main_36) {
|
|
1451
1451
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1452
1452
|
if (window.googletag && googletag.pubadsReady) {
|
|
1453
1453
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1464,7 +1464,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1464
1464
|
});
|
|
1465
1465
|
}
|
|
1466
1466
|
//Refresh leaderboard ad on mobile
|
|
1467
|
-
if (
|
|
1467
|
+
if (main_36) {
|
|
1468
1468
|
var leaderboardSlotId = '';
|
|
1469
1469
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1470
1470
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1568,7 +1568,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1568
1568
|
return _context.stop();
|
|
1569
1569
|
}
|
|
1570
1570
|
}
|
|
1571
|
-
}, _callee, _this
|
|
1571
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1572
1572
|
}));
|
|
1573
1573
|
|
|
1574
1574
|
return function loadmore() {
|
|
@@ -1646,14 +1646,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1646
1646
|
refreshAD(path);
|
|
1647
1647
|
};
|
|
1648
1648
|
|
|
1649
|
-
return
|
|
1649
|
+
return React__default.createElement(
|
|
1650
1650
|
InfiniteScroll,
|
|
1651
1651
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1652
1652
|
queueData.map(function (article, index) {
|
|
1653
|
-
return
|
|
1654
|
-
|
|
1653
|
+
return React__default.createElement(
|
|
1654
|
+
React__default.Fragment,
|
|
1655
1655
|
{ key: index },
|
|
1656
|
-
|
|
1656
|
+
React__default.createElement(Article, _extends({}, props, {
|
|
1657
1657
|
containerHeight: containerHeight,
|
|
1658
1658
|
onChangeArticle: onChangeArticle,
|
|
1659
1659
|
authorPrfix: authorPrefix,
|
|
@@ -1669,7 +1669,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1669
1669
|
);
|
|
1670
1670
|
};
|
|
1671
1671
|
|
|
1672
|
-
var _this = undefined;
|
|
1672
|
+
var _this$1 = undefined;
|
|
1673
1673
|
|
|
1674
1674
|
var View = function View(props) {
|
|
1675
1675
|
var router = useRouter();
|
|
@@ -1679,9 +1679,9 @@ var View = function View(props) {
|
|
|
1679
1679
|
hideComments = _props$article.hideComments,
|
|
1680
1680
|
content_placement = _props$article.content_placement,
|
|
1681
1681
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1682
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1683
|
-
props.sponsoredTaxonomies
|
|
1684
|
-
|
|
1682
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
1683
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1684
|
+
Ads = props.Ads,
|
|
1685
1685
|
setCustomDimensions = props.setCustomDimensions,
|
|
1686
1686
|
statusCode = props.statusCode,
|
|
1687
1687
|
prevUrl = props.prevUrl,
|
|
@@ -1694,9 +1694,9 @@ var View = function View(props) {
|
|
|
1694
1694
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1695
1695
|
var _props$article2 = props.article,
|
|
1696
1696
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1697
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1698
|
-
_props$article2.description
|
|
1699
|
-
|
|
1697
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw,
|
|
1698
|
+
description = _props$article2.description,
|
|
1699
|
+
title = _props$article2.title,
|
|
1700
1700
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1701
1701
|
|
|
1702
1702
|
var _useState = useState(0),
|
|
@@ -1752,6 +1752,7 @@ var View = function View(props) {
|
|
|
1752
1752
|
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;
|
|
1753
1753
|
|
|
1754
1754
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1755
|
+
description = null;
|
|
1755
1756
|
title = null;
|
|
1756
1757
|
}
|
|
1757
1758
|
|
|
@@ -1795,63 +1796,63 @@ var View = function View(props) {
|
|
|
1795
1796
|
|
|
1796
1797
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1797
1798
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1798
|
-
return
|
|
1799
|
-
|
|
1799
|
+
return React__default.createElement(
|
|
1800
|
+
React__default.Fragment,
|
|
1800
1801
|
null,
|
|
1801
|
-
|
|
1802
|
+
React__default.createElement(
|
|
1802
1803
|
Head,
|
|
1803
1804
|
null,
|
|
1804
|
-
|
|
1805
|
+
React__default.createElement(
|
|
1805
1806
|
'title',
|
|
1806
1807
|
{ key: 'title' },
|
|
1807
1808
|
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 : '')
|
|
1808
1809
|
),
|
|
1809
|
-
metaDescriptionSanity ?
|
|
1810
|
-
|
|
1811
|
-
passwordLock &&
|
|
1812
|
-
|
|
1810
|
+
metaDescriptionSanity ? React__default.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React__default.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1811
|
+
React__default.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1812
|
+
passwordLock && React__default.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1813
|
+
React__default.createElement('meta', {
|
|
1813
1814
|
property: 'og:url',
|
|
1814
1815
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1815
1816
|
key: 'og:url'
|
|
1816
1817
|
}),
|
|
1817
|
-
|
|
1818
|
+
React__default.createElement('meta', {
|
|
1818
1819
|
property: 'og:title',
|
|
1819
1820
|
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 : ''),
|
|
1820
1821
|
key: 'og:title'
|
|
1821
1822
|
}),
|
|
1822
|
-
|
|
1823
|
+
React__default.createElement('meta', {
|
|
1823
1824
|
property: 'og:image',
|
|
1824
1825
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1825
1826
|
key: 'og:image'
|
|
1826
1827
|
}),
|
|
1827
|
-
|
|
1828
|
-
metaDescriptionSanity ?
|
|
1829
|
-
|
|
1830
|
-
|
|
1828
|
+
React__default.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1829
|
+
metaDescriptionSanity ? React__default.createElement('meta', { property: 'og:description', key: 'og:description', content: metaDescriptionSanity }) : meta_description && React__default.createElement('meta', { property: 'og:description', key: 'og:description', content: meta_description }),
|
|
1830
|
+
React__default.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1831
|
+
React__default.createElement('meta', {
|
|
1831
1832
|
name: 'twitter:title',
|
|
1832
1833
|
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 : ''),
|
|
1833
1834
|
key: 'twitter:title'
|
|
1834
1835
|
}),
|
|
1835
|
-
|
|
1836
|
+
React__default.createElement('meta', {
|
|
1836
1837
|
name: 'twitter:image',
|
|
1837
1838
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1838
1839
|
key: 'twitter:image'
|
|
1839
1840
|
}),
|
|
1840
|
-
|
|
1841
|
-
metaDescriptionSanity ?
|
|
1842
|
-
canonicalTag &&
|
|
1841
|
+
React__default.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1842
|
+
metaDescriptionSanity ? React__default.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: metaDescriptionSanity }) : meta_description && React__default.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: meta_description }),
|
|
1843
|
+
canonicalTag && React__default.createElement('link', {
|
|
1843
1844
|
rel: 'canonical',
|
|
1844
1845
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1845
1846
|
key: 'canonical'
|
|
1846
1847
|
}),
|
|
1847
|
-
|
|
1848
|
+
React__default.createElement(
|
|
1848
1849
|
'noscript',
|
|
1849
1850
|
null,
|
|
1850
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1851
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1851
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React__default.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1852
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1852
1853
|
)
|
|
1853
1854
|
),
|
|
1854
|
-
!needInfiniteScroll ?
|
|
1855
|
+
!needInfiniteScroll ? React__default.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React__default.createElement(ArticleQueue, _extends({
|
|
1855
1856
|
infiniteScroll: true,
|
|
1856
1857
|
showRelatedArticles: showRelatedArticles,
|
|
1857
1858
|
canonicalTag: canonicalTag,
|
|
@@ -1988,7 +1989,7 @@ View.returnGetInitialProps = function () {
|
|
|
1988
1989
|
return _context.stop();
|
|
1989
1990
|
}
|
|
1990
1991
|
}
|
|
1991
|
-
}, _callee, _this);
|
|
1992
|
+
}, _callee, _this$1);
|
|
1992
1993
|
}));
|
|
1993
1994
|
|
|
1994
1995
|
return function (_x, _x2, _x3, _x4, _x5) {
|