@mjhls/mjh-framework 1.0.830 → 1.0.831-beta.0
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 +30 -31
- package/dist/cjs/AD300x250x600.js +30 -31
- package/dist/cjs/AD728x90.js +33 -34
- package/dist/cjs/ADFloatingFooter.js +32 -33
- package/dist/cjs/ADFooter.js +14 -15
- package/dist/cjs/ADGutter.js +32 -33
- package/dist/cjs/{ADInfeed-8b336c67.js → ADInfeed-8d621d3c.js} +13 -15
- package/dist/cjs/ADSkyscraper.js +32 -33
- package/dist/cjs/ADSponsoredResources.js +32 -33
- package/dist/cjs/ADWebcast.js +32 -33
- package/dist/cjs/ADWelcome.js +33 -34
- package/dist/cjs/{ADlgInfeed-aedd5e18.js → ADlgInfeed-0e26bccb.js} +10 -11
- package/dist/cjs/AccordionPanel.js +29 -31
- package/dist/cjs/AdSlot.js +35 -36
- package/dist/cjs/AdSlotsProvider.js +911 -20
- package/dist/cjs/AlgoliaSearch.js +1068 -1087
- package/dist/cjs/AlphabeticList.js +25 -26
- package/dist/cjs/ArticleCarousel.js +23 -24
- package/dist/cjs/ArticleProgramLandingPage.js +59 -60
- package/dist/cjs/ArticleSeriesLandingPage.js +40 -41
- package/dist/cjs/ArticleSeriesListing.js +61 -62
- package/dist/cjs/Auth.js +662 -686
- package/dist/cjs/AuthWrapper.js +269 -311
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-bb831b74.js} +13 -14
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-091a991f.js} +55 -56
- package/dist/cjs/Breadcrumbs.js +27 -29
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +11 -14
- package/dist/cjs/Column2.js +33 -36
- package/dist/cjs/Column3.js +59 -62
- package/dist/cjs/ConferenceArticleCard.js +37 -38
- package/dist/cjs/ConferenceBanner-4a16fddc.js +23 -0
- package/dist/cjs/DeckContent.js +104 -108
- package/dist/cjs/DeckQueue.js +88 -92
- package/dist/cjs/{Dfp-93399f8c.js → Dfp-26baccf1.js} +34 -35
- package/dist/cjs/EventsDeck.js +152 -159
- package/dist/cjs/ExternalResources.js +80 -81
- package/dist/cjs/Feature.js +24 -26
- package/dist/cjs/ForbesHero.js +42 -43
- package/dist/cjs/GridContent.js +290 -191
- package/dist/cjs/GridHero.js +44 -45
- package/dist/cjs/GroupDeck.js +59 -60
- package/dist/cjs/HamMagazine.js +140 -145
- package/dist/cjs/Header.js +12 -14
- package/dist/cjs/Hero.js +12 -13
- package/dist/cjs/HighlightenVideo.js +17 -18
- package/dist/cjs/HorizontalArticleListing.js +72 -73
- package/dist/cjs/HorizontalHero.js +24 -25
- package/dist/cjs/IssueContentDeck.js +73 -78
- package/dist/cjs/IssueDeck.js +72 -77
- package/dist/cjs/IssueLanding.js +95 -96
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +39 -41
- package/dist/cjs/MasterDeck.js +80 -81
- package/dist/cjs/MediaSeriesLanding.js +1126 -1117
- package/dist/cjs/NavDvm.js +74 -79
- package/dist/cjs/{NavFooter-3dcd99a8.js → NavFooter-76c913e3.js} +14 -15
- package/dist/cjs/NavMagazine.js +147 -152
- package/dist/cjs/NavNative.js +139 -147
- package/dist/cjs/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +72 -73
- package/dist/cjs/PageFilter.js +14 -15
- package/dist/cjs/PartnerDetailListing.js +108 -109
- package/dist/cjs/PdfDownload.js +8 -9
- package/dist/cjs/PopUpModal.js +19 -21
- package/dist/cjs/PubSection.js +42 -43
- package/dist/cjs/PubToc.js +15 -16
- package/dist/cjs/PublicationDeck.js +62 -67
- package/dist/cjs/PublicationLanding.js +135 -139
- package/dist/cjs/QueueDeckExpanded.js +310 -310
- package/dist/cjs/RecentNews.js +21 -22
- package/dist/cjs/RelatedContent.js +54 -55
- package/dist/cjs/RelatedTopicsDropdown.js +29 -32
- package/dist/cjs/RolesDeck.js +27 -32
- package/dist/cjs/Search.js +18 -22
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-d54fa925.js → SeriesSlider-85eec772.js} +39 -40
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +38 -39
- package/dist/cjs/SocialIcons.js +9 -10
- package/dist/cjs/{SocialSearchComponent-ecb4f972.js → SocialSearchComponent-cea213aa.js} +36 -40
- package/dist/cjs/SocialShare.js +29 -31
- package/dist/cjs/TaxonomyCard.js +59 -64
- package/dist/cjs/TaxonomyDescription.js +55 -56
- package/dist/cjs/TemplateNormal.js +74 -75
- package/dist/cjs/ThumbnailCard.js +21 -23
- package/dist/cjs/Ustream.js +29 -30
- package/dist/cjs/VerticalHero.js +16 -17
- package/dist/cjs/VideoProgramLandingPage.js +74 -78
- package/dist/cjs/VideoSeriesCard.js +33 -34
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +50 -51
- package/dist/cjs/VideoSeriesListing.js +78 -79
- package/dist/cjs/View.js +263 -266
- package/dist/cjs/YahooHero.js +41 -42
- package/dist/cjs/YoutubeGroup.js +66 -67
- package/dist/cjs/{_is-array-6128bd56.js → _is-array-754e012d.js} +6 -6
- package/dist/cjs/{_iter-detect-55a5657a.js → _iter-detect-60b2f026.js} +8 -8
- package/dist/cjs/{_object-pie-083f2dd6.js → _object-pie-68c5bcbc.js} +4 -4
- package/dist/cjs/{_object-sap-a175b4a9.js → _object-sap-5e74ba08.js} +1 -1
- package/dist/cjs/{_object-to-array-8fe5a54f.js → _object-to-array-5762f850.js} +2 -2
- package/dist/cjs/{_to-object-6de10e57.js → _to-object-329a650b.js} +8 -8
- package/dist/cjs/{asyncToGenerator-58c289d9.js → asyncToGenerator-140e5f89.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-a195642e.js → brightcove-react-player-loader.es-156bd4d6.js} +9 -11
- package/dist/cjs/{core.get-iterator-method-f474eacc.js → core.get-iterator-method-f62321d4.js} +2 -2
- package/dist/cjs/{debounce-d4a2369b.js → debounce-529c8d06.js} +2 -2
- package/dist/cjs/{define-property-c88be878.js → define-property-f4d12f4e.js} +6 -6
- package/dist/cjs/{defineProperty-0cb76d99.js → defineProperty-55548b25.js} +1 -1
- package/dist/cjs/{entities-3f9d0f2f.js → entities-310b46ee.js} +1 -1
- package/dist/cjs/{eq-5fc26c07.js → eq-bb2843ed.js} +1 -1
- package/dist/cjs/{es6.string.iterator-c2573ffd.js → es6.string.iterator-cc0bbaa4.js} +6 -6
- package/dist/cjs/{extends-29bdbc6d.js → extends-0a918631.js} +7 -7
- package/dist/cjs/faundadb.js +7 -7
- package/dist/cjs/{get-5839e5b5.js → get-adbb11e3.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +12 -425
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -45
- package/dist/cjs/{getTargeting-be6168ad.js → getTargeting-021d644c.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +3 -0
- package/dist/cjs/{index-f86bb269.js → index-3294d3bc.js} +45 -44
- package/dist/cjs/{index-5cba8ed7.js → index-454b179d.js} +960 -983
- 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-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 +163 -167
- package/dist/cjs/{inherits-c2065b95.js → inherits-9953db94.js} +22 -22
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-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-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-725500bc.js} +36 -36
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{visibility-sensor-eb2c5b69.js → visibility-sensor-ad5e3116.js} +5 -7
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -27
- package/dist/esm/AD300x250x600.js +27 -27
- package/dist/esm/AD728x90.js +30 -30
- package/dist/esm/ADFloatingFooter.js +29 -29
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -29
- package/dist/esm/{ADInfeed-28b1e946.js → ADInfeed-b566ce41.js} +11 -11
- package/dist/esm/ADSkyscraper.js +29 -29
- package/dist/esm/ADSponsoredResources.js +29 -29
- package/dist/esm/ADWebcast.js +29 -29
- package/dist/esm/ADWelcome.js +30 -30
- package/dist/esm/{ADlgInfeed-0b474b02.js → ADlgInfeed-5eb7281d.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +909 -17
- package/dist/esm/AlgoliaSearch.js +718 -736
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -56
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +57 -57
- package/dist/esm/Auth.js +645 -665
- package/dist/esm/AuthWrapper.js +267 -308
- package/dist/esm/{AuthorComponent-5ae7409f.js → AuthorComponent-34b16174.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-52cf21c5.js → BlockContent-e9b4ddcf.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +79 -79
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +30 -30
- package/dist/esm/Column3.js +56 -56
- package/dist/esm/ConferenceArticleCard.js +35 -35
- package/dist/esm/{ConferenceBanner-9162d0ca.js → ConferenceBanner-8792ebd2.js} +4 -4
- package/dist/esm/DeckContent.js +99 -99
- package/dist/esm/DeckQueue.js +83 -83
- package/dist/esm/{Dfp-43f121ff.js → Dfp-b7236041.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +74 -74
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +276 -173
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +116 -116
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +10 -10
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +69 -69
- package/dist/esm/HorizontalHero.js +22 -22
- package/dist/esm/IssueContentDeck.js +61 -61
- package/dist/esm/IssueDeck.js +65 -65
- package/dist/esm/IssueLanding.js +92 -92
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -35
- package/dist/esm/MasterDeck.js +77 -77
- package/dist/esm/MediaSeriesLanding.js +852 -840
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-c29526b7.js → NavFooter-e27bd93b.js} +12 -12
- package/dist/esm/NavMagazine.js +126 -126
- package/dist/esm/NavNative.js +116 -116
- package/dist/esm/OncliveHero.js +17 -16
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +105 -105
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +53 -53
- package/dist/esm/PublicationLanding.js +122 -122
- package/dist/esm/QueueDeckExpanded.js +275 -275
- package/dist/esm/RecentNews.js +19 -19
- package/dist/esm/RelatedContent.js +48 -48
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +13 -13
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +32 -32
- package/dist/esm/{SeriesSlider-8f2aca58.js → SeriesSlider-afab5c1b.js} +31 -31
- package/dist/esm/SetCookie.js +1 -1
- package/dist/esm/SideFooter.js +34 -34
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-cd38ae60.js → SocialSearchComponent-03c3e869.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +54 -54
- package/dist/esm/TaxonomyDescription.js +50 -50
- package/dist/esm/TemplateNormal.js +70 -70
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +26 -26
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +67 -67
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +42 -42
- package/dist/esm/VideoSeriesListing.js +74 -74
- package/dist/esm/View.js +247 -246
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +51 -51
- package/dist/esm/{_is-array-3e99e06e.js → _is-array-58e95429.js} +6 -6
- package/dist/esm/{_iter-detect-7e5e5ce2.js → _iter-detect-5d49a330.js} +8 -8
- package/dist/esm/{_object-pie-133f504a.js → _object-pie-33c40e79.js} +4 -4
- package/dist/esm/{_object-sap-f353c2a9.js → _object-sap-964b6feb.js} +1 -1
- package/dist/esm/{_object-to-array-0f197f89.js → _object-to-array-7e804fce.js} +2 -2
- package/dist/esm/{_to-object-b50e61c3.js → _to-object-a4107da3.js} +9 -9
- package/dist/esm/{asyncToGenerator-7f8f9219.js → asyncToGenerator-fc1c2e29.js} +32 -32
- package/dist/esm/{brightcove-react-player-loader.es-b43c695a.js → brightcove-react-player-loader.es-83f53e4e.js} +6 -7
- package/dist/esm/{core.get-iterator-method-133dfacd.js → core.get-iterator-method-e1de7503.js} +2 -2
- package/dist/esm/{debounce-533d9748.js → debounce-9207d8ee.js} +2 -2
- package/dist/esm/{define-property-fe54dc9f.js → define-property-8af5f002.js} +6 -6
- package/dist/esm/{defineProperty-f5ff6f5a.js → defineProperty-94fd8bfc.js} +1 -1
- package/dist/esm/{entities-932b50cf.js → entities-7cc3bf45.js} +1 -1
- package/dist/esm/{eq-bdcbf886.js → eq-b470f743.js} +1 -1
- package/dist/esm/{es6.string.iterator-bc33758b.js → es6.string.iterator-c990c18c.js} +7 -7
- package/dist/esm/{extends-60e0e1c6.js → extends-6f2fcc99.js} +7 -7
- package/dist/esm/faundadb.js +7 -7
- package/dist/esm/{get-3c308da4.js → get-1e515072.js} +21 -21
- package/dist/esm/getRelatedArticle.js +12 -425
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -45
- package/dist/esm/{getTargeting-68291ce9.js → getTargeting-82e86707.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-4d43928d.js → index-0d1eb0c4.js} +924 -940
- 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-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 +136 -137
- package/dist/esm/{inherits-a41fe93f.js → inherits-cf8dde54.js} +19 -19
- package/dist/esm/{isSymbol-a7e9aafe.js → isSymbol-1981418f.js} +15 -15
- package/dist/esm/{keys-7a3adabf.js → keys-8eda7a5c.js} +6 -6
- package/dist/esm/{lodash-f97fd99a.js → lodash-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-be2f7a22.js → slicedToArray-641f241f.js} +14 -14
- package/dist/esm/{smoothscroll-fa4e3f8c.js → smoothscroll-0cd4c7a6.js} +1 -1
- package/dist/esm/stringify-4330ccdc.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-6d9a4616.js → toConsumableArray-43aa614d.js} +9 -9
- package/dist/esm/{toNumber-5aeba6e7.js → toNumber-2f7a84cd.js} +5 -40
- package/dist/esm/{typeof-a286cf0c.js → typeof-6435ba1c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-f40c2564.js → visibility-sensor-72fd8f8b.js} +2 -2
- package/dist/esm/{web.dom.iterable-4109ff68.js → web.dom.iterable-4439f05a.js} +3 -3
- package/package.json +110 -110
- package/dist/cjs/ConferenceBanner-6c9e718a.js +0 -24
- package/dist/cjs/index-bd6c9f56.js +0 -211
- package/dist/cjs/keys-7f2c2108.js +0 -25
- package/dist/cjs/main-025fdc78.js +0 -973
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/index-db3bb315.js +0 -207
- package/dist/esm/main-b5c5aac1.js +0 -961
- package/dist/esm/stringify-59c8f690.js +0 -15
package/dist/esm/View.js
CHANGED
|
@@ -1,74 +1,74 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-7f8f9219.js';
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-60e0e1c6.js';
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-be2f7a22.js';
|
|
4
|
-
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
|
-
import Head from 'next/head';
|
|
6
|
-
import { useRouter } from 'next/router';
|
|
7
|
-
import { _ as _JSON$stringify } from './stringify-59c8f690.js';
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-6d9a4616.js';
|
|
9
|
-
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
11
|
-
import { m as main_43 } from './main-b5c5aac1.js';
|
|
12
|
-
import 'react-bootstrap/Dropdown';
|
|
13
|
-
import Form from 'react-bootstrap/Form';
|
|
14
|
-
import FormControl from 'react-bootstrap/FormControl';
|
|
15
|
-
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
17
|
-
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-4d43928d.js';
|
|
19
|
-
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-8f2aca58.js';
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-68291ce9.js';
|
|
22
|
-
import getKeywords from './getKeywords.js';
|
|
23
|
-
import urlFor from './urlFor.js';
|
|
24
|
-
import { _ as _typeof } from './typeof-a286cf0c.js';
|
|
25
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
26
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
-
import './index-35bdcc81.js';
|
|
28
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
-
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
30
|
-
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
-
import { l as lib_3 } from './index-2446af28.js';
|
|
32
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
|
-
import getQuery from './getQuery.js';
|
|
34
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
35
1
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
36
|
-
import './
|
|
37
|
-
import './
|
|
38
|
-
import './web.dom.iterable-4109ff68.js';
|
|
2
|
+
import './_to-object-a4107da3.js';
|
|
3
|
+
import './es6.string.iterator-c990c18c.js';
|
|
39
4
|
import './_library-528f1934.js';
|
|
40
|
-
import './
|
|
41
|
-
import './
|
|
42
|
-
import './
|
|
5
|
+
import './_iter-detect-5d49a330.js';
|
|
6
|
+
import { _ as _toConsumableArray } from './toConsumableArray-43aa614d.js';
|
|
7
|
+
import './core.get-iterator-method-e1de7503.js';
|
|
8
|
+
import './_object-pie-33c40e79.js';
|
|
9
|
+
import { _ as _extends, a as _Object$assign } from './extends-6f2fcc99.js';
|
|
10
|
+
import './_object-sap-964b6feb.js';
|
|
11
|
+
import './inherits-cf8dde54.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import { _ as _typeof } from './typeof-6435ba1c.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React__default, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
|
+
import './events-6c3a7a63.js';
|
|
18
|
+
import { l as lib_3 } from './index-41a678ea.js';
|
|
43
19
|
import 'prop-types';
|
|
44
|
-
import '
|
|
20
|
+
import 'react-bootstrap/Row';
|
|
21
|
+
import 'react-bootstrap/Col';
|
|
22
|
+
import { m as moment } from './moment-e2f9b20c.js';
|
|
23
|
+
import { useRouter } from 'next/router';
|
|
24
|
+
import './isSymbol-1981418f.js';
|
|
25
|
+
import './debounce-9207d8ee.js';
|
|
26
|
+
import './toNumber-2f7a84cd.js';
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-29c1cef5.js';
|
|
45
28
|
import 'react-dom';
|
|
46
|
-
import '
|
|
47
|
-
import '
|
|
48
|
-
import './
|
|
49
|
-
import './
|
|
50
|
-
import './
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
30
|
+
import './index-73819142.js';
|
|
31
|
+
import urlFor from './urlFor.js';
|
|
32
|
+
import './index-5f7e79e7.js';
|
|
33
|
+
import { m as main_36 } from './main-e4a934b2.js';
|
|
34
|
+
import './entities-7cc3bf45.js';
|
|
35
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
|
+
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
37
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1c2e29.js';
|
|
51
38
|
import './Segment.js';
|
|
52
|
-
import './
|
|
39
|
+
import './Beam.js';
|
|
40
|
+
import DFPAdSlot from './AdSlot.js';
|
|
41
|
+
import Button$1 from 'react-bootstrap/Button';
|
|
42
|
+
import { B as BlockContent } from './BlockContent-e9b4ddcf.js';
|
|
43
|
+
import './index-c7e2ac95.js';
|
|
44
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
53
45
|
import './GroupDeck.js';
|
|
54
|
-
import '
|
|
55
|
-
import './_is-array-3e99e06e.js';
|
|
56
|
-
import './_object-to-array-0f197f89.js';
|
|
57
|
-
import 'react-bootstrap/Pagination';
|
|
58
|
-
import './entities-932b50cf.js';
|
|
59
|
-
import 'react-bootstrap/Row';
|
|
60
|
-
import 'react-bootstrap/Col';
|
|
61
|
-
import './inherits-a41fe93f.js';
|
|
62
|
-
import './_object-sap-f353c2a9.js';
|
|
63
|
-
import './define-property-fe54dc9f.js';
|
|
64
|
-
import './index.esm-3fdda599.js';
|
|
46
|
+
import 'react-bootstrap';
|
|
65
47
|
import './iconBase-602d52fe.js';
|
|
48
|
+
import './index.esm-29e48d38.js';
|
|
49
|
+
import { r as renderAuthor, g as getSerializers } from './index-0d1eb0c4.js';
|
|
50
|
+
import './util-7700fc59.js';
|
|
51
|
+
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
52
|
+
import Head from 'next/head';
|
|
53
|
+
import 'react-share';
|
|
54
|
+
import SocialShare from './SocialShare.js';
|
|
55
|
+
import './_object-to-array-7e804fce.js';
|
|
56
|
+
import 'react-bootstrap/Pagination';
|
|
66
57
|
import 'react-bootstrap/Figure';
|
|
67
|
-
import '
|
|
68
|
-
import '
|
|
69
|
-
import './
|
|
70
|
-
import '
|
|
71
|
-
import './index-
|
|
58
|
+
import Form from 'react-bootstrap/Form';
|
|
59
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
60
|
+
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
61
|
+
import 'react-bootstrap/Dropdown';
|
|
62
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-cf08bf18.js';
|
|
63
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
64
|
+
import 'nookies';
|
|
65
|
+
import getQuery from './getQuery.js';
|
|
66
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
67
|
+
import { S as SeriesSlider } from './SeriesSlider-afab5c1b.js';
|
|
68
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-82e86707.js';
|
|
69
|
+
import getKeywords from './getKeywords.js';
|
|
70
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
71
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
72
72
|
|
|
73
73
|
var getArticleSummary = function getArticleSummary(article) {
|
|
74
74
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -146,17 +146,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
146
146
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
147
147
|
}
|
|
148
148
|
|
|
149
|
-
return
|
|
149
|
+
return React__default.createElement(
|
|
150
150
|
'a',
|
|
151
151
|
{
|
|
152
152
|
href: url,
|
|
153
153
|
className: 'doc-group',
|
|
154
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
155
|
-
thumbnailUrl &&
|
|
156
|
-
!thumbnailUrl &&
|
|
157
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
155
|
+
thumbnailUrl && React__default.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
|
+
!thumbnailUrl && React__default.createElement('p', {
|
|
157
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_36 ? 'left' : 'right', marginTop: '.25rem' },
|
|
158
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
159
|
-
|
|
159
|
+
main_36 && !thumbnailUrl && React__default.createElement(
|
|
160
160
|
'style',
|
|
161
161
|
{ jsx: 'true' },
|
|
162
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -296,38 +296,38 @@ var ISI = function ISI(props) {
|
|
|
296
296
|
}, 300);
|
|
297
297
|
}
|
|
298
298
|
};
|
|
299
|
-
return
|
|
300
|
-
|
|
299
|
+
return React__default.createElement(
|
|
300
|
+
React__default.Fragment,
|
|
301
301
|
null,
|
|
302
|
-
|
|
302
|
+
React__default.createElement(
|
|
303
303
|
'div',
|
|
304
304
|
{ id: 'isi', ref: isi },
|
|
305
|
-
|
|
305
|
+
React__default.createElement(
|
|
306
306
|
'div',
|
|
307
307
|
{ id: 'isiContent' },
|
|
308
|
-
|
|
308
|
+
React__default.createElement(
|
|
309
309
|
'div',
|
|
310
310
|
{ onClick: function onClick() {
|
|
311
311
|
return setActive(function (prev) {
|
|
312
312
|
return !prev;
|
|
313
313
|
});
|
|
314
314
|
}, id: 'isiToggle' },
|
|
315
|
-
active ?
|
|
315
|
+
active ? React__default.createElement(
|
|
316
316
|
'p',
|
|
317
317
|
null,
|
|
318
318
|
'Close ',
|
|
319
|
-
|
|
320
|
-
) :
|
|
319
|
+
React__default.createElement(FaMinus, null)
|
|
320
|
+
) : React__default.createElement(
|
|
321
321
|
'p',
|
|
322
322
|
null,
|
|
323
323
|
'See More ',
|
|
324
|
-
|
|
324
|
+
React__default.createElement(FaPlus, null)
|
|
325
325
|
)
|
|
326
326
|
),
|
|
327
327
|
children
|
|
328
328
|
)
|
|
329
329
|
),
|
|
330
|
-
|
|
330
|
+
React__default.createElement(
|
|
331
331
|
'style',
|
|
332
332
|
{ jsx: true },
|
|
333
333
|
'\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 '
|
|
@@ -335,7 +335,7 @@ var ISI = function ISI(props) {
|
|
|
335
335
|
);
|
|
336
336
|
};
|
|
337
337
|
|
|
338
|
-
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";
|
|
338
|
+
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";
|
|
339
339
|
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" };
|
|
340
340
|
styleInject(css);
|
|
341
341
|
|
|
@@ -349,33 +349,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
349
349
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
350
350
|
return null;
|
|
351
351
|
}
|
|
352
|
-
return
|
|
352
|
+
return React__default.createElement(
|
|
353
353
|
'div',
|
|
354
354
|
{ className: styles.mediaContainer },
|
|
355
355
|
articles.map(function (article, index) {
|
|
356
|
-
return
|
|
356
|
+
return React__default.createElement(
|
|
357
357
|
'div',
|
|
358
358
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
359
|
-
|
|
359
|
+
React__default.createElement(
|
|
360
360
|
'a',
|
|
361
361
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
362
|
-
article.thumbnail ?
|
|
362
|
+
article.thumbnail ? React__default.createElement('img', {
|
|
363
363
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
364
364
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
365
365
|
alt: article.title
|
|
366
|
-
}) :
|
|
367
|
-
|
|
366
|
+
}) : React__default.createElement(
|
|
367
|
+
React__default.Fragment,
|
|
368
368
|
null,
|
|
369
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
369
|
+
fallbackImage && showRelatedArticleFallbackImage && React__default.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
370
370
|
)
|
|
371
371
|
),
|
|
372
|
-
|
|
372
|
+
React__default.createElement(
|
|
373
373
|
'div',
|
|
374
374
|
{ className: styles.mediaBody },
|
|
375
|
-
|
|
375
|
+
React__default.createElement(
|
|
376
376
|
'a',
|
|
377
377
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
378
|
-
|
|
378
|
+
React__default.createElement(
|
|
379
379
|
'div',
|
|
380
380
|
{ className: styles.cardTitle },
|
|
381
381
|
article.title
|
|
@@ -535,9 +535,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
535
535
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
536
536
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
537
537
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
538
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
539
|
-
props.active
|
|
540
|
-
|
|
538
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh,
|
|
539
|
+
active = props.active,
|
|
540
|
+
containerHeight = props.containerHeight,
|
|
541
541
|
_props$refreshFlag = props.refreshFlag,
|
|
542
542
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
543
543
|
disqusConfig = props.disqusConfig,
|
|
@@ -597,9 +597,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
597
597
|
setArticleBody = _useState10[1];
|
|
598
598
|
|
|
599
599
|
var _useState11 = useState(true),
|
|
600
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
601
|
-
_useState12[0]
|
|
602
|
-
|
|
600
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
601
|
+
previewAd = _useState12[0],
|
|
602
|
+
setPreviewAd = _useState12[1];
|
|
603
603
|
|
|
604
604
|
useEffect(function () {
|
|
605
605
|
var path = window && window.location && window.location.search;
|
|
@@ -620,7 +620,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
620
620
|
};
|
|
621
621
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
622
622
|
if (biography) {
|
|
623
|
-
return
|
|
623
|
+
return React__default.createElement(BlockContent, _extends({
|
|
624
624
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
625
625
|
blocks: [biography]
|
|
626
626
|
}, client.config()));
|
|
@@ -630,9 +630,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
630
630
|
var url = article.url.current;
|
|
631
631
|
|
|
632
632
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
633
|
-
return
|
|
633
|
+
return React__default.createElement(ISIContent, null);
|
|
634
634
|
} else if (nationalPage === url && ISIContent) {
|
|
635
|
-
return
|
|
635
|
+
return React__default.createElement(ISIContent, { national: true });
|
|
636
636
|
}
|
|
637
637
|
return null;
|
|
638
638
|
};
|
|
@@ -663,19 +663,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
663
663
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
664
664
|
}
|
|
665
665
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
666
|
-
return
|
|
666
|
+
return React__default.createElement(
|
|
667
667
|
'div',
|
|
668
668
|
null,
|
|
669
669
|
relatedLinks.map(function (relatedLink, index) {
|
|
670
|
-
return
|
|
670
|
+
return React__default.createElement(
|
|
671
671
|
'span',
|
|
672
672
|
{ key: index, className: 'related-link' },
|
|
673
|
-
|
|
673
|
+
React__default.createElement(
|
|
674
674
|
'a',
|
|
675
675
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
676
676
|
relatedLink.label
|
|
677
677
|
),
|
|
678
|
-
|
|
678
|
+
React__default.createElement(
|
|
679
679
|
'style',
|
|
680
680
|
{ jsx: 'true' },
|
|
681
681
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -690,23 +690,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
690
690
|
};
|
|
691
691
|
|
|
692
692
|
var RelatedContent = function RelatedContent() {
|
|
693
|
-
return
|
|
693
|
+
return React__default.createElement(
|
|
694
694
|
'section',
|
|
695
695
|
{ id: 'related-content-section', className: 'my-1' },
|
|
696
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
696
|
+
(article.relatedArticle || RelevantTopics()) && React__default.createElement(
|
|
697
697
|
'p',
|
|
698
698
|
{ className: 'mb-0' },
|
|
699
|
-
|
|
699
|
+
React__default.createElement(
|
|
700
700
|
'b',
|
|
701
701
|
null,
|
|
702
702
|
'Related Content:'
|
|
703
703
|
)
|
|
704
704
|
),
|
|
705
|
-
|
|
706
|
-
|
|
705
|
+
React__default.createElement(RelevantTopics, null),
|
|
706
|
+
React__default.createElement(
|
|
707
707
|
'div',
|
|
708
708
|
{ className: 'pt-2' },
|
|
709
|
-
|
|
709
|
+
React__default.createElement(RelatedArticle, {
|
|
710
710
|
articles: article.relatedArticle,
|
|
711
711
|
client: client,
|
|
712
712
|
fallbackImage: props.Settings.logo,
|
|
@@ -717,29 +717,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
717
717
|
};
|
|
718
718
|
|
|
719
719
|
var form = function form() {
|
|
720
|
-
return
|
|
721
|
-
|
|
720
|
+
return React__default.createElement(
|
|
721
|
+
React__default.Fragment,
|
|
722
722
|
null,
|
|
723
|
-
|
|
723
|
+
React__default.createElement(
|
|
724
724
|
Head,
|
|
725
725
|
null,
|
|
726
|
-
|
|
726
|
+
React__default.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
727
727
|
),
|
|
728
|
-
|
|
728
|
+
React__default.createElement(
|
|
729
729
|
'div',
|
|
730
730
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
731
|
-
|
|
731
|
+
React__default.createElement(
|
|
732
732
|
Form,
|
|
733
733
|
{
|
|
734
734
|
inline: true,
|
|
735
735
|
onSubmit: function onSubmit(e) {
|
|
736
736
|
e.preventDefault();
|
|
737
737
|
} },
|
|
738
|
-
|
|
738
|
+
React__default.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
739
739
|
return setPasswordKey(e.target.value);
|
|
740
740
|
}, placeholder: 'Password' }),
|
|
741
|
-
|
|
742
|
-
Button,
|
|
741
|
+
React__default.createElement(
|
|
742
|
+
Button$1,
|
|
743
743
|
{
|
|
744
744
|
variant: 'primary',
|
|
745
745
|
onClick: function onClick() {
|
|
@@ -788,31 +788,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
788
788
|
setContextualADFlag(true);
|
|
789
789
|
}
|
|
790
790
|
};
|
|
791
|
-
return
|
|
792
|
-
|
|
791
|
+
return React__default.createElement(
|
|
792
|
+
React__default.Fragment,
|
|
793
793
|
null,
|
|
794
|
-
|
|
794
|
+
React__default.createElement(BlockContent, _extends({
|
|
795
795
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
796
796
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
797
797
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
798
798
|
}, client.config())),
|
|
799
|
-
|
|
800
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
801
|
-
|
|
799
|
+
React__default.createElement('span', { className: 'clearfix' }),
|
|
800
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
801
|
+
React__default.createElement(
|
|
802
802
|
'div',
|
|
803
803
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
804
|
-
|
|
804
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
805
805
|
refreshFlag: refreshFlag
|
|
806
806
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
807
807
|
}))
|
|
808
808
|
),
|
|
809
|
-
|
|
810
|
-
|
|
809
|
+
React__default.createElement('span', { className: 'clearfix' }),
|
|
810
|
+
React__default.createElement(
|
|
811
811
|
'div',
|
|
812
812
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
813
|
-
|
|
813
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
814
814
|
),
|
|
815
|
-
|
|
815
|
+
React__default.createElement(BlockContent, _extends({
|
|
816
816
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
817
817
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
818
818
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -837,26 +837,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
837
837
|
if (seriesInfo.hasVideo) {
|
|
838
838
|
_selectedIndex = seriesInfo.videoIndex;
|
|
839
839
|
}
|
|
840
|
-
return
|
|
841
|
-
|
|
840
|
+
return React__default.createElement(
|
|
841
|
+
React__default.Fragment,
|
|
842
842
|
null,
|
|
843
|
-
|
|
843
|
+
React__default.createElement(BlockContent, _extends({
|
|
844
844
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
845
845
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
846
846
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
847
847
|
}, client.config())),
|
|
848
|
-
contextualADFlag &&
|
|
849
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
850
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
848
|
+
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
849
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
850
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React__default.createElement(
|
|
851
851
|
'div',
|
|
852
852
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
853
|
-
|
|
853
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
854
854
|
refreshFlag: refreshFlag
|
|
855
855
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
856
856
|
}))
|
|
857
857
|
),
|
|
858
|
-
contextualADFlag &&
|
|
859
|
-
|
|
858
|
+
contextualADFlag && React__default.createElement('span', { className: 'clearfix' }),
|
|
859
|
+
React__default.createElement(BlockContent, _extends({
|
|
860
860
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
861
861
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
862
862
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -886,22 +886,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
886
886
|
}
|
|
887
887
|
};
|
|
888
888
|
|
|
889
|
-
return
|
|
890
|
-
|
|
889
|
+
return React__default.createElement(
|
|
890
|
+
React__default.Fragment,
|
|
891
891
|
null,
|
|
892
|
-
|
|
892
|
+
React__default.createElement(BlockContent, _extends({
|
|
893
893
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
894
894
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
895
895
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
896
896
|
}, client.config())),
|
|
897
|
-
|
|
898
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
899
|
-
|
|
897
|
+
React__default.createElement('span', { className: 'clearfix' }),
|
|
898
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
899
|
+
React__default.createElement(
|
|
900
900
|
'div',
|
|
901
901
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
902
|
-
|
|
902
|
+
React__default.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
903
903
|
),
|
|
904
|
-
|
|
904
|
+
React__default.createElement(BlockContent, _extends({
|
|
905
905
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
906
906
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
907
907
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -913,16 +913,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
913
913
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
914
914
|
}
|
|
915
915
|
|
|
916
|
-
return
|
|
916
|
+
return React__default.createElement(
|
|
917
917
|
'div',
|
|
918
918
|
null,
|
|
919
|
-
|
|
919
|
+
React__default.createElement(BlockContent, _extends({
|
|
920
920
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
921
921
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
922
922
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
923
923
|
}, client.config())),
|
|
924
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
925
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
924
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
925
|
+
article.documentGroup && article.documentGroup.isSeries && React__default.createElement(BlockContent, _extends({
|
|
926
926
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
927
927
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
928
928
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -967,8 +967,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
967
967
|
shareSubject = shareOptions.shareSubject,
|
|
968
968
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
969
969
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
970
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
971
|
-
shareOptions.shareSiteTitle;
|
|
970
|
+
shareBaseUrl = shareOptions.shareBaseUrl,
|
|
971
|
+
shareSiteTitle = shareOptions.shareSiteTitle;
|
|
972
972
|
|
|
973
973
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
974
974
|
var shareTitle = article.title;
|
|
@@ -1008,10 +1008,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1008
1008
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1009
1009
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1010
1010
|
|
|
1011
|
-
return
|
|
1012
|
-
|
|
1011
|
+
return React__default.createElement(
|
|
1012
|
+
React__default.Fragment,
|
|
1013
1013
|
null,
|
|
1014
|
-
|
|
1014
|
+
React__default.createElement(
|
|
1015
1015
|
VisibilitySensor,
|
|
1016
1016
|
{
|
|
1017
1017
|
partialVisibility: true,
|
|
@@ -1024,61 +1024,61 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1024
1024
|
});
|
|
1025
1025
|
}
|
|
1026
1026
|
} },
|
|
1027
|
-
|
|
1027
|
+
React__default.createElement(
|
|
1028
1028
|
'div',
|
|
1029
1029
|
{ id: 'article__block', ref: ref },
|
|
1030
|
-
|
|
1030
|
+
React__default.createElement(
|
|
1031
1031
|
'div',
|
|
1032
1032
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1033
1033
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1034
|
-
!isVideoSeries &&
|
|
1034
|
+
!isVideoSeries && React__default.createElement(
|
|
1035
1035
|
'div',
|
|
1036
1036
|
null,
|
|
1037
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1037
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React__default.createElement(
|
|
1038
1038
|
'p',
|
|
1039
1039
|
{ style: { fontSize: '14px' } },
|
|
1040
1040
|
article.documentGroup.name,
|
|
1041
1041
|
' - Episode ',
|
|
1042
1042
|
episodeNumber
|
|
1043
1043
|
),
|
|
1044
|
-
|
|
1044
|
+
React__default.createElement(
|
|
1045
1045
|
'h1',
|
|
1046
1046
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1047
1047
|
title
|
|
1048
1048
|
)
|
|
1049
1049
|
),
|
|
1050
|
-
|
|
1050
|
+
React__default.createElement(
|
|
1051
1051
|
'div',
|
|
1052
1052
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1053
|
-
|
|
1053
|
+
React__default.createElement(
|
|
1054
1054
|
'style',
|
|
1055
1055
|
{ jsx: 'true' },
|
|
1056
1056
|
'\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 '
|
|
1057
1057
|
),
|
|
1058
|
-
|
|
1058
|
+
React__default.createElement(
|
|
1059
1059
|
'div',
|
|
1060
1060
|
{ className: 'left-wrap' },
|
|
1061
|
-
!isVideoSeries && showPublished &&
|
|
1061
|
+
!isVideoSeries && showPublished && React__default.createElement(
|
|
1062
1062
|
'div',
|
|
1063
1063
|
null,
|
|
1064
1064
|
moment(published).format('LL')
|
|
1065
1065
|
)
|
|
1066
1066
|
/* Show Published date */
|
|
1067
1067
|
,
|
|
1068
|
-
|
|
1068
|
+
React__default.createElement(
|
|
1069
1069
|
'div',
|
|
1070
1070
|
{ className: 'mb-3' },
|
|
1071
1071
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1072
|
-
return
|
|
1072
|
+
return React__default.createElement(
|
|
1073
1073
|
'span',
|
|
1074
1074
|
{ key: index },
|
|
1075
1075
|
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 }))
|
|
1076
1076
|
);
|
|
1077
1077
|
}),
|
|
1078
|
-
|
|
1078
|
+
React__default.createElement(
|
|
1079
1079
|
'div',
|
|
1080
1080
|
null,
|
|
1081
|
-
source &&
|
|
1081
|
+
source && React__default.createElement(
|
|
1082
1082
|
'p',
|
|
1083
1083
|
{
|
|
1084
1084
|
style: {
|
|
@@ -1093,13 +1093,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1093
1093
|
source
|
|
1094
1094
|
)
|
|
1095
1095
|
),
|
|
1096
|
-
issue &&
|
|
1096
|
+
issue && React__default.createElement(
|
|
1097
1097
|
'div',
|
|
1098
1098
|
{ className: 'volume-issue' },
|
|
1099
|
-
issue.publication && issue.publication.name &&
|
|
1099
|
+
issue.publication && issue.publication.name && React__default.createElement(
|
|
1100
1100
|
'span',
|
|
1101
1101
|
{ className: 'mb-0' },
|
|
1102
|
-
|
|
1102
|
+
React__default.createElement(
|
|
1103
1103
|
'b',
|
|
1104
1104
|
null,
|
|
1105
1105
|
issue.publication.name
|
|
@@ -1107,34 +1107,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1107
1107
|
',',
|
|
1108
1108
|
' '
|
|
1109
1109
|
),
|
|
1110
|
-
issue.name &&
|
|
1110
|
+
issue.name && React__default.createElement(
|
|
1111
1111
|
'span',
|
|
1112
1112
|
{ className: 'mb-0' },
|
|
1113
1113
|
issue.name,
|
|
1114
1114
|
', '
|
|
1115
1115
|
),
|
|
1116
|
-
issue.volume &&
|
|
1116
|
+
issue.volume && React__default.createElement(
|
|
1117
1117
|
'span',
|
|
1118
1118
|
null,
|
|
1119
1119
|
'Volume ' + issue.volume,
|
|
1120
1120
|
','
|
|
1121
1121
|
),
|
|
1122
|
-
issue.issueNumber &&
|
|
1122
|
+
issue.issueNumber && React__default.createElement(
|
|
1123
1123
|
'span',
|
|
1124
1124
|
null,
|
|
1125
1125
|
' Issue ' + issue.issueNumber
|
|
1126
1126
|
)
|
|
1127
1127
|
),
|
|
1128
|
-
pageNumber &&
|
|
1128
|
+
pageNumber && React__default.createElement(
|
|
1129
1129
|
'div',
|
|
1130
1130
|
{ className: 'article-pageNumber' },
|
|
1131
1131
|
'Pages: ' + pageNumber
|
|
1132
1132
|
)
|
|
1133
1133
|
),
|
|
1134
|
-
!isVideoSeries && showSocialShare &&
|
|
1134
|
+
!isVideoSeries && showSocialShare && React__default.createElement(
|
|
1135
1135
|
'p',
|
|
1136
1136
|
null,
|
|
1137
|
-
|
|
1137
|
+
React__default.createElement(SocialShare, {
|
|
1138
1138
|
shareUrl: shareUrl,
|
|
1139
1139
|
shareTitle: shareTitle,
|
|
1140
1140
|
shareVia: shareVia,
|
|
@@ -1150,27 +1150,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1150
1150
|
})
|
|
1151
1151
|
)
|
|
1152
1152
|
),
|
|
1153
|
-
|
|
1153
|
+
React__default.createElement(
|
|
1154
1154
|
'div',
|
|
1155
1155
|
null,
|
|
1156
|
-
|
|
1156
|
+
React__default.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1157
1157
|
)
|
|
1158
1158
|
),
|
|
1159
|
-
!isVideoSeries && summary && display_summary &&
|
|
1159
|
+
!isVideoSeries && summary && display_summary && React__default.createElement(
|
|
1160
1160
|
'p',
|
|
1161
1161
|
null,
|
|
1162
|
-
|
|
1162
|
+
React__default.createElement(
|
|
1163
1163
|
'em',
|
|
1164
1164
|
null,
|
|
1165
1165
|
summary
|
|
1166
1166
|
)
|
|
1167
1167
|
),
|
|
1168
|
-
|
|
1168
|
+
React__default.createElement(
|
|
1169
1169
|
'div',
|
|
1170
1170
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1171
|
-
|
|
1171
|
+
main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1172
1172
|
if (index === 0) {
|
|
1173
|
-
return
|
|
1173
|
+
return React__default.createElement(
|
|
1174
1174
|
'div',
|
|
1175
1175
|
{
|
|
1176
1176
|
key: index,
|
|
@@ -1187,24 +1187,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1187
1187
|
}
|
|
1188
1188
|
})
|
|
1189
1189
|
),
|
|
1190
|
-
|
|
1190
|
+
React__default.createElement(
|
|
1191
1191
|
'div',
|
|
1192
1192
|
{ className: 'block-content mt-3' },
|
|
1193
1193
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1194
|
-
|
|
1195
|
-
|
|
1194
|
+
React__default.createElement('div', { className: 'clearfix' }),
|
|
1195
|
+
React__default.createElement(
|
|
1196
1196
|
'noscript',
|
|
1197
1197
|
null,
|
|
1198
|
-
|
|
1198
|
+
React__default.createElement(
|
|
1199
1199
|
'div',
|
|
1200
1200
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1201
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1201
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React__default.createElement(
|
|
1202
1202
|
'a',
|
|
1203
1203
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1204
1204
|
'Previous ',
|
|
1205
1205
|
props.article.seriesDetail.type
|
|
1206
1206
|
),
|
|
1207
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1207
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default.createElement(
|
|
1208
1208
|
'a',
|
|
1209
1209
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1210
1210
|
'Next ',
|
|
@@ -1212,26 +1212,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1212
1212
|
)
|
|
1213
1213
|
)
|
|
1214
1214
|
),
|
|
1215
|
-
issue && issue.url &&
|
|
1215
|
+
issue && issue.url && React__default.createElement(
|
|
1216
1216
|
'a',
|
|
1217
1217
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1218
|
-
|
|
1218
|
+
React__default.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1219
1219
|
'Download Issue : ',
|
|
1220
1220
|
issue.name
|
|
1221
1221
|
)
|
|
1222
1222
|
),
|
|
1223
|
-
|
|
1224
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1223
|
+
React__default.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1224
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React__default.createElement(
|
|
1225
1225
|
'div',
|
|
1226
1226
|
null,
|
|
1227
1227
|
false ,
|
|
1228
|
-
|
|
1228
|
+
React__default.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1229
1229
|
),
|
|
1230
|
-
showRelatedArticles && !showIsi &&
|
|
1231
|
-
disqusConfig && showDisqus &&
|
|
1230
|
+
showRelatedArticles && !showIsi && React__default.createElement(RelatedContent, null),
|
|
1231
|
+
disqusConfig && showDisqus && React__default.createElement(
|
|
1232
1232
|
'div',
|
|
1233
1233
|
{ id: 'disqusContainer' },
|
|
1234
|
-
|
|
1234
|
+
React__default.createElement(DiscussionEmbed, {
|
|
1235
1235
|
shortname: disqusConfig.shortname,
|
|
1236
1236
|
config: {
|
|
1237
1237
|
url: disqusConfig.url,
|
|
@@ -1244,30 +1244,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1244
1244
|
renderIsiContent(props.article)
|
|
1245
1245
|
)
|
|
1246
1246
|
),
|
|
1247
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1247
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React__default.createElement(
|
|
1248
1248
|
ISI,
|
|
1249
1249
|
null,
|
|
1250
|
-
|
|
1250
|
+
React__default.createElement(BlockContent, {
|
|
1251
1251
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1252
1252
|
blocks: isi
|
|
1253
1253
|
})
|
|
1254
1254
|
),
|
|
1255
|
-
|
|
1255
|
+
main_36 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1256
1256
|
if (index > 0) {
|
|
1257
|
-
return
|
|
1257
|
+
return React__default.createElement(
|
|
1258
1258
|
'div',
|
|
1259
1259
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1260
1260
|
ad.component
|
|
1261
1261
|
);
|
|
1262
1262
|
}
|
|
1263
1263
|
}),
|
|
1264
|
-
|
|
1264
|
+
React__default.createElement(
|
|
1265
1265
|
'noscript',
|
|
1266
1266
|
null,
|
|
1267
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1267
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React__default.createElement(
|
|
1268
1268
|
'div',
|
|
1269
1269
|
{ style: { textAlign: 'center' } },
|
|
1270
|
-
|
|
1270
|
+
React__default.createElement(
|
|
1271
1271
|
'a',
|
|
1272
1272
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1273
1273
|
'Related Article ',
|
|
@@ -1275,7 +1275,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1275
1275
|
)
|
|
1276
1276
|
)
|
|
1277
1277
|
),
|
|
1278
|
-
props.infiniteScroll &&
|
|
1278
|
+
props.infiniteScroll && React__default.createElement('hr', { className: 'article-seperater mb-5 mt-3' })
|
|
1279
1279
|
);
|
|
1280
1280
|
};
|
|
1281
1281
|
|
|
@@ -1290,16 +1290,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1290
1290
|
}
|
|
1291
1291
|
});
|
|
1292
1292
|
|
|
1293
|
-
var _this
|
|
1293
|
+
var _this = undefined;
|
|
1294
1294
|
|
|
1295
1295
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1296
1296
|
var _props$prevUrl = props.prevUrl,
|
|
1297
1297
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1298
1298
|
Ads = props.Ads,
|
|
1299
1299
|
_props$maxListLength = props.maxListLength,
|
|
1300
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1301
|
-
props.sponsoredTaxonomies
|
|
1302
|
-
|
|
1300
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength,
|
|
1301
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1302
|
+
_props$cpModification = props.cpModificationRequired,
|
|
1303
1303
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1304
1304
|
_props$authorPrefix = props.authorPrefix,
|
|
1305
1305
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1348,7 +1348,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1348
1348
|
return item.url.current === path;
|
|
1349
1349
|
});
|
|
1350
1350
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1351
|
-
if (!
|
|
1351
|
+
if (!main_36) {
|
|
1352
1352
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1353
1353
|
if (window.googletag && googletag.pubadsReady) {
|
|
1354
1354
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1365,7 +1365,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1365
1365
|
});
|
|
1366
1366
|
}
|
|
1367
1367
|
//Refresh leaderboard ad on mobile
|
|
1368
|
-
if (
|
|
1368
|
+
if (main_36) {
|
|
1369
1369
|
var leaderboardSlotId = '';
|
|
1370
1370
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1371
1371
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1469,7 +1469,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1469
1469
|
return _context.stop();
|
|
1470
1470
|
}
|
|
1471
1471
|
}
|
|
1472
|
-
}, _callee, _this
|
|
1472
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1473
1473
|
}));
|
|
1474
1474
|
|
|
1475
1475
|
return function loadmore() {
|
|
@@ -1514,14 +1514,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1514
1514
|
refreshAD(path);
|
|
1515
1515
|
};
|
|
1516
1516
|
|
|
1517
|
-
return
|
|
1517
|
+
return React__default.createElement(
|
|
1518
1518
|
InfiniteScroll,
|
|
1519
1519
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1520
1520
|
queueData.map(function (article, index) {
|
|
1521
|
-
return
|
|
1522
|
-
|
|
1521
|
+
return React__default.createElement(
|
|
1522
|
+
React__default.Fragment,
|
|
1523
1523
|
null,
|
|
1524
|
-
|
|
1524
|
+
React__default.createElement(Article, _extends({
|
|
1525
1525
|
key: index
|
|
1526
1526
|
}, props, {
|
|
1527
1527
|
containerHeight: containerHeight,
|
|
@@ -1539,7 +1539,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1539
1539
|
);
|
|
1540
1540
|
};
|
|
1541
1541
|
|
|
1542
|
-
var _this = undefined;
|
|
1542
|
+
var _this$1 = undefined;
|
|
1543
1543
|
|
|
1544
1544
|
var View = function View(props) {
|
|
1545
1545
|
var router = useRouter();
|
|
@@ -1549,9 +1549,9 @@ var View = function View(props) {
|
|
|
1549
1549
|
hideComments = _props$article.hideComments,
|
|
1550
1550
|
content_placement = _props$article.content_placement,
|
|
1551
1551
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1552
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1553
|
-
props.sponsoredTaxonomies
|
|
1554
|
-
|
|
1552
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
1553
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1554
|
+
Ads = props.Ads,
|
|
1555
1555
|
setCustomDimensions = props.setCustomDimensions,
|
|
1556
1556
|
statusCode = props.statusCode,
|
|
1557
1557
|
prevUrl = props.prevUrl,
|
|
@@ -1564,9 +1564,9 @@ var View = function View(props) {
|
|
|
1564
1564
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1565
1565
|
var _props$article2 = props.article,
|
|
1566
1566
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1567
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1568
|
-
_props$article2.description
|
|
1569
|
-
|
|
1567
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw,
|
|
1568
|
+
description = _props$article2.description,
|
|
1569
|
+
title = _props$article2.title,
|
|
1570
1570
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1571
1571
|
|
|
1572
1572
|
var _useState = useState(0),
|
|
@@ -1627,6 +1627,7 @@ var View = function View(props) {
|
|
|
1627
1627
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1628
1628
|
|
|
1629
1629
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1630
|
+
description = null;
|
|
1630
1631
|
title = null;
|
|
1631
1632
|
}
|
|
1632
1633
|
|
|
@@ -1663,63 +1664,63 @@ var View = function View(props) {
|
|
|
1663
1664
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1664
1665
|
}
|
|
1665
1666
|
|
|
1666
|
-
return
|
|
1667
|
-
|
|
1667
|
+
return React__default.createElement(
|
|
1668
|
+
React__default.Fragment,
|
|
1668
1669
|
null,
|
|
1669
|
-
|
|
1670
|
+
React__default.createElement(
|
|
1670
1671
|
Head,
|
|
1671
1672
|
null,
|
|
1672
|
-
|
|
1673
|
+
React__default.createElement(
|
|
1673
1674
|
'title',
|
|
1674
1675
|
{ key: 'title' },
|
|
1675
1676
|
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 : '')
|
|
1676
1677
|
),
|
|
1677
|
-
meta_description &&
|
|
1678
|
-
|
|
1679
|
-
passwordLock &&
|
|
1680
|
-
|
|
1678
|
+
meta_description && React__default.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1679
|
+
React__default.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1680
|
+
passwordLock && React__default.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1681
|
+
React__default.createElement('meta', {
|
|
1681
1682
|
property: 'og:url',
|
|
1682
1683
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1683
1684
|
key: 'og:url'
|
|
1684
1685
|
}),
|
|
1685
|
-
|
|
1686
|
+
React__default.createElement('meta', {
|
|
1686
1687
|
property: 'og:title',
|
|
1687
1688
|
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1688
1689
|
key: 'og:title'
|
|
1689
1690
|
}),
|
|
1690
|
-
|
|
1691
|
+
React__default.createElement('meta', {
|
|
1691
1692
|
property: 'og:image',
|
|
1692
1693
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1693
1694
|
key: 'og:image'
|
|
1694
1695
|
}),
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1696
|
+
React__default.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1697
|
+
React__default.createElement('meta', { property: 'og:description', content: meta_description, key: 'og:description' }),
|
|
1698
|
+
React__default.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1699
|
+
React__default.createElement('meta', {
|
|
1699
1700
|
name: 'twitter:title',
|
|
1700
1701
|
content: seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1701
1702
|
key: 'twitter:title'
|
|
1702
1703
|
}),
|
|
1703
|
-
|
|
1704
|
+
React__default.createElement('meta', {
|
|
1704
1705
|
name: 'twitter:image',
|
|
1705
1706
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1706
1707
|
key: 'twitter:image'
|
|
1707
1708
|
}),
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
canonicalTag &&
|
|
1709
|
+
React__default.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1710
|
+
React__default.createElement('meta', { name: 'twitter:description', content: meta_description, key: 'twitter:description' }),
|
|
1711
|
+
canonicalTag && React__default.createElement('link', {
|
|
1711
1712
|
rel: 'canonical',
|
|
1712
1713
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1713
1714
|
key: 'canonical'
|
|
1714
1715
|
}),
|
|
1715
|
-
|
|
1716
|
+
React__default.createElement(
|
|
1716
1717
|
'noscript',
|
|
1717
1718
|
null,
|
|
1718
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1719
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1719
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React__default.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1720
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React__default.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1720
1721
|
)
|
|
1721
1722
|
),
|
|
1722
|
-
!needInfiniteScroll ?
|
|
1723
|
+
!needInfiniteScroll ? React__default.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React__default.createElement(ArticleQueue, _extends({
|
|
1723
1724
|
infiniteScroll: true,
|
|
1724
1725
|
showRelatedArticles: showRelatedArticles,
|
|
1725
1726
|
canonicalTag: canonicalTag,
|
|
@@ -1856,7 +1857,7 @@ View.returnGetInitialProps = function () {
|
|
|
1856
1857
|
return _context.stop();
|
|
1857
1858
|
}
|
|
1858
1859
|
}
|
|
1859
|
-
}, _callee, _this);
|
|
1860
|
+
}, _callee, _this$1);
|
|
1860
1861
|
}));
|
|
1861
1862
|
|
|
1862
1863
|
return function (_x, _x2, _x3, _x4, _x5) {
|