@mjhls/mjh-framework 1.0.821 → 1.0.823-double-verify
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 +170 -170
- package/dist/cjs/AD.js +1 -1
- package/dist/cjs/AD300x250.js +24 -23
- package/dist/cjs/AD300x250x600.js +24 -23
- package/dist/cjs/AD728x90.js +27 -26
- package/dist/cjs/ADFloatingFooter.js +23 -22
- package/dist/cjs/ADFooter.js +6 -6
- package/dist/cjs/ADGutter.js +23 -22
- package/dist/cjs/{ADInfeed-eb4ce360.js → ADInfeed-abcd28ad.js} +4 -4
- package/dist/cjs/ADSkyscraper.js +23 -22
- package/dist/cjs/ADSponsoredResources.js +23 -22
- package/dist/cjs/ADWebcast.js +23 -22
- package/dist/cjs/ADWelcome.js +20 -19
- package/dist/cjs/{ADlgInfeed-8a05b63f.js → ADlgInfeed-ed0bff5b.js} +4 -4
- package/dist/cjs/AccordionPanel.js +8 -8
- package/dist/cjs/AdSlot.js +97 -23
- package/dist/cjs/AdSlotsProvider.js +26 -16
- package/dist/cjs/AlgoliaSearch.js +14121 -30
- package/dist/cjs/AlphabeticList.js +10 -10
- package/dist/cjs/ArticleCarousel.js +17 -17
- package/dist/cjs/ArticleProgramLandingPage.js +49 -48
- package/dist/cjs/ArticleSeriesLandingPage.js +33 -32
- package/dist/cjs/ArticleSeriesListing.js +34 -33
- package/dist/cjs/Auth.js +348 -519
- package/dist/cjs/AuthWrapper.js +20 -20
- package/dist/cjs/{AuthorComponent-c21aac7f.js → AuthorComponent-ac8972ce.js} +1 -1
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-36e54d77.js → BlockContent-8b494587.js} +34 -34
- package/dist/cjs/Breadcrumbs.js +8 -8
- package/dist/cjs/CMEDeck.js +25 -24
- package/dist/cjs/Column2.js +16 -16
- package/dist/cjs/Column3.js +33 -32
- package/dist/cjs/ConferenceArticleCard.js +22 -22
- package/dist/cjs/DeckContent.js +43 -42
- package/dist/cjs/DeckQueue.js +32 -31
- package/dist/cjs/{Dfp-3f0ed4c8.js → Dfp-391fd124.js} +15 -14
- package/dist/cjs/EventsDeck.js +45 -45
- package/dist/cjs/ExternalResources.js +47 -46
- package/dist/cjs/Feature.js +4 -4
- package/dist/cjs/ForbesHero.js +12 -12
- package/dist/cjs/GridContent.js +48 -47
- package/dist/cjs/GridHero.js +13 -13
- package/dist/cjs/GroupDeck.js +14 -14
- package/dist/cjs/HamMagazine.js +37 -37
- package/dist/cjs/Hero.js +4 -4
- package/dist/cjs/HighlightenVideo.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +46 -45
- package/dist/cjs/HorizontalHero.js +5 -5
- package/dist/cjs/IssueContentDeck.js +13 -13
- package/dist/cjs/IssueDeck.js +17 -17
- package/dist/cjs/IssueLanding.js +84 -83
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +22 -21
- package/dist/cjs/MasterDeck.js +42 -41
- package/dist/cjs/MediaSeriesLanding.js +612 -712
- package/dist/cjs/NavDvm.js +13 -13
- package/dist/cjs/NavMagazine.js +41 -41
- package/dist/cjs/NavNative.js +41 -41
- package/dist/cjs/NavNormal.js +15 -15
- package/dist/cjs/OncliveHero.js +4 -4
- package/dist/cjs/OncliveLargeHero.js +13 -13
- package/dist/cjs/PageFilter.js +6 -6
- package/dist/cjs/PartnerDetailListing.js +60 -56
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PopUpModal.js +6 -6
- package/dist/cjs/PubSection.js +35 -34
- package/dist/cjs/PubToc.js +8 -8
- package/dist/cjs/PublicationDeck.js +8 -8
- package/dist/cjs/PublicationLanding.js +55 -55
- package/dist/cjs/QueueDeckExpanded.js +39 -38
- package/dist/cjs/RecentNews.js +4 -4
- package/dist/cjs/RelatedContent.js +35 -35
- package/dist/cjs/RelatedTopicsDropdown.js +10 -10
- package/dist/cjs/Search.js +8 -8
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +21 -20
- package/dist/cjs/{SeriesSlider-028ab640.js → SeriesSlider-66092a33.js} +14 -14
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +17 -17
- package/dist/cjs/{SocialSearchComponent-948138c7.js → SocialSearchComponent-560a666e.js} +11 -11
- package/dist/cjs/TaxonomyCard.js +10 -10
- package/dist/cjs/TaxonomyDescription.js +45 -44
- package/dist/cjs/TemplateNormal.js +49 -48
- package/dist/cjs/ThumbnailCard.js +7 -7
- package/dist/cjs/Ustream.js +14 -14
- package/dist/cjs/VerticalHero.js +3 -3
- package/dist/cjs/VideoProgramLandingPage.js +52 -51
- package/dist/cjs/VideoSeriesCard.js +14 -14
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +39 -38
- package/dist/cjs/VideoSeriesListing.js +34 -33
- package/dist/cjs/View.js +92 -90
- package/dist/cjs/YahooHero.js +15 -15
- package/dist/cjs/YoutubeGroup.js +26 -26
- 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-4ba0d3d5.js} +4 -5
- 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/events-1b438fe7.js +469 -0
- 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 +14 -14
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-a100d6e5.js → getTargeting-ea2ea5e7.js} +11 -11
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-0e4427c8.js → index-2cf30c83.js} +5 -470
- package/dist/cjs/{index-f86bb269.js → index-5be2866f.js} +45 -44
- package/dist/cjs/{index-eadd5035.js → index-9d365128.js} +7 -7
- package/dist/cjs/{index-efca863c.js → index-b5eb3ff8.js} +11 -16
- package/dist/cjs/{index-7e0d91f8.js → index-be7af3a5.js} +161 -161
- package/dist/cjs/index-f0677b9d.js +99 -0
- package/dist/cjs/{index.es-f3e47207.js → index.es-13533f24.js} +4 -20
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-9225638f.js → index.esm-3b9b8952.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-3ffa049c.js} +2 -2
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +137 -136
- package/dist/cjs/{inherits-c2065b95.js → inherits-0c7830c5.js} +19 -19
- package/dist/cjs/{isSymbol-03abbdf0.js → isSymbol-04666465.js} +15 -15
- package/dist/cjs/keys-a586b7a0.js +25 -0
- package/dist/cjs/{lodash-f0783643.js → lodash-7fd85bcf.js} +10 -58
- package/dist/cjs/main-11ec04d2.js +894 -0
- package/dist/cjs/{moment-aca40de1.js → moment-66a6a284.js} +9 -11
- package/dist/cjs/{react-social-icons-af932527.js → react-social-icons-07939b41.js} +17 -17
- package/dist/cjs/{slicedToArray-5d1bc3b3.js → slicedToArray-8f385299.js} +14 -14
- package/dist/cjs/{smoothscroll-99df7f93.js → smoothscroll-5054361f.js} +1 -1
- package/dist/cjs/stringify-7c5aff47.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-ddb70795.js → toConsumableArray-9a3476fe.js} +9 -9
- package/dist/cjs/{toNumber-5e1fac58.js → toNumber-36d1e7e5.js} +5 -40
- package/dist/cjs/{typeof-88a668c5.js → typeof-9d7f610f.js} +35 -35
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{ustream-api-b2b9092f.js → ustream-api-d092dc31.js} +4 -4
- package/dist/cjs/{util-6f784d85.js → util-f2c1b65b.js} +1 -1
- package/dist/cjs/{web.dom.iterable-46657b5c.js → web.dom.iterable-a0e279c1.js} +3 -3
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +27 -26
- package/dist/esm/AD300x250x600.js +27 -26
- package/dist/esm/AD728x90.js +30 -29
- package/dist/esm/ADFloatingFooter.js +29 -28
- package/dist/esm/ADFooter.js +11 -11
- package/dist/esm/ADGutter.js +29 -28
- package/dist/esm/{ADInfeed-4a09242b.js → ADInfeed-fc937563.js} +9 -9
- package/dist/esm/ADSkyscraper.js +29 -28
- package/dist/esm/ADSponsoredResources.js +29 -28
- package/dist/esm/ADWebcast.js +29 -28
- package/dist/esm/ADWelcome.js +30 -29
- package/dist/esm/{ADlgInfeed-0bff9a62.js → ADlgInfeed-d5032b24.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +100 -26
- package/dist/esm/AdSlotsProvider.js +27 -17
- package/dist/esm/AlgoliaSearch.js +14142 -51
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +55 -54
- package/dist/esm/ArticleSeriesLandingPage.js +38 -37
- package/dist/esm/ArticleSeriesListing.js +57 -56
- package/dist/esm/Auth.js +418 -589
- package/dist/esm/AuthWrapper.js +45 -45
- package/dist/esm/{AuthorComponent-30aeba69.js → AuthorComponent-8ffd4679.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-c99c9a8d.js → BlockContent-d05b5b23.js} +35 -35
- package/dist/esm/Breadcrumbs.js +17 -17
- package/dist/esm/CMEDeck.js +80 -79
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +27 -27
- package/dist/esm/Column3.js +52 -51
- package/dist/esm/ConferenceArticleCard.js +35 -35
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +87 -86
- package/dist/esm/DeckQueue.js +69 -68
- package/dist/esm/{Dfp-be030f2a.js → Dfp-2f9796e1.js} +23 -22
- package/dist/esm/EventsDeck.js +105 -105
- package/dist/esm/ExternalResources.js +73 -72
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +143 -142
- package/dist/esm/GridHero.js +37 -37
- package/dist/esm/GroupDeck.js +47 -47
- package/dist/esm/HamMagazine.js +114 -114
- 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 +68 -67
- package/dist/esm/HorizontalHero.js +23 -23
- package/dist/esm/IssueContentDeck.js +50 -50
- package/dist/esm/IssueDeck.js +47 -47
- package/dist/esm/IssueLanding.js +92 -91
- package/dist/esm/KMTracker.js +15 -15
- package/dist/esm/LeftNav.js +35 -34
- package/dist/esm/MasterDeck.js +74 -73
- package/dist/esm/MediaSeriesLanding.js +623 -723
- package/dist/esm/NavDvm.js +56 -56
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +123 -123
- package/dist/esm/NavNative.js +112 -112
- package/dist/esm/NavNormal.js +35 -35
- package/dist/esm/OncliveHero.js +16 -16
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +108 -104
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +40 -39
- package/dist/esm/PubToc.js +12 -12
- package/dist/esm/PublicationDeck.js +39 -39
- package/dist/esm/PublicationLanding.js +102 -102
- package/dist/esm/QueueDeckExpanded.js +276 -275
- package/dist/esm/RecentNews.js +20 -20
- package/dist/esm/RelatedContent.js +48 -48
- package/dist/esm/RelatedTopicsDropdown.js +21 -21
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +12 -12
- package/dist/esm/Segment.js +6 -6
- package/dist/esm/SeriesListingDeck.js +33 -32
- package/dist/esm/{SeriesSlider-6551c52e.js → SeriesSlider-802c4daf.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-db963c3e.js → SocialSearchComponent-82ac7d6d.js} +29 -29
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +42 -42
- package/dist/esm/TaxonomyDescription.js +49 -48
- package/dist/esm/TemplateNormal.js +70 -69
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +27 -27
- package/dist/esm/VerticalHero.js +14 -14
- package/dist/esm/VideoProgramLandingPage.js +64 -63
- package/dist/esm/VideoSeriesCard.js +26 -26
- package/dist/esm/VideoSeriesFilter.js +15 -15
- package/dist/esm/VideoSeriesLandingPage.js +43 -42
- package/dist/esm/VideoSeriesListing.js +73 -72
- package/dist/esm/View.js +245 -243
- 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-57a70a56.js → brightcove-react-player-loader.es-e1c6b0f2.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/events-6c3a7a63.js +467 -0
- 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 +14 -14
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -44
- package/dist/esm/{getTargeting-05c216d6.js → getTargeting-831bc794.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-0dbff1d1.js → index-51a80699.js} +11 -16
- package/dist/esm/{index-755f2cc2.js → index-6c12bdd5.js} +10 -10
- package/dist/esm/{index-3bcafffc.js → index-a5e7c80c.js} +490 -490
- package/dist/esm/index-b68072f5.js +94 -0
- package/dist/esm/{index-79cfd25c.js → index-d2f90501.js} +45 -44
- package/dist/esm/{index-5cc7b406.js → index-f7fb1e25.js} +7 -472
- package/dist/esm/{index.es-a6137319.js → index.es-7dda2f0a.js} +9 -25
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8ee5ff72.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-e874e770.js → index.esm-d6f88d94.js} +1 -1
- package/dist/esm/index.js +133 -132
- package/dist/esm/{inherits-a41fe93f.js → inherits-75d45541.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-ec8c6b48.js} +10 -58
- package/dist/esm/main-aef58dbc.js +882 -0
- package/dist/esm/{moment-bc12cb97.js → moment-12415288.js} +9 -11
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-3822f1ce.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-af9c50d8.js} +35 -35
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-33a866b6.js → ustream-api-9a50644d.js} +4 -4
- package/dist/esm/{util-3ab476bf.js → util-7700fc59.js} +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.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/keys-7f2c2108.js +0 -25
- package/dist/cjs/main-f1c77adb.js +0 -973
- package/dist/cjs/stringify-c9ac1214.js +0 -17
- package/dist/esm/main-d4165069.js +0 -961
- package/dist/esm/stringify-59c8f690.js +0 -15
package/dist/esm/View.js
CHANGED
|
@@ -1,73 +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__default, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
|
-
import Head from 'next/head';
|
|
6
|
-
import { useRouter } from 'next/router';
|
|
7
|
-
import { _ as _JSON$stringify } from './stringify-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-c99c9a8d.js';
|
|
11
|
-
import { m as main_43 } from './main-d4165069.js';
|
|
12
|
-
import 'react-bootstrap/Dropdown';
|
|
13
|
-
import Form from 'react-bootstrap/Form';
|
|
14
|
-
import FormControl from 'react-bootstrap/FormControl';
|
|
15
|
-
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import { V as VisibilitySensor } from './visibility-sensor-72fd8f8b.js';
|
|
17
|
-
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-3bcafffc.js';
|
|
19
|
-
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-6551c52e.js';
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-05c216d6.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-d4932dea.js';
|
|
26
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
-
import './index-755f2cc2.js';
|
|
28
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
-
import { _ as _Object$keys } from './keys-7a3adabf.js';
|
|
30
|
-
import { I as InfiniteScroll } from './index.es-a6137319.js';
|
|
31
|
-
import { l as lib_3 } from './index-5cc7b406.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-75d45541.js';
|
|
12
|
+
import './define-property-8af5f002.js';
|
|
13
|
+
import './web.dom.iterable-4439f05a.js';
|
|
14
|
+
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
15
|
+
import './_is-array-58e95429.js';
|
|
16
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
|
+
import './events-6c3a7a63.js';
|
|
18
|
+
import { l as lib_3 } from './index-f7fb1e25.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-12415288.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-7dda2f0a.js';
|
|
45
28
|
import 'react-dom';
|
|
46
|
-
import '
|
|
47
|
-
import '
|
|
48
|
-
import './
|
|
49
|
-
import './
|
|
50
|
-
import './
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
|
+
import urlFor from './urlFor.js';
|
|
32
|
+
import './index-6c12bdd5.js';
|
|
33
|
+
import { m as main_39 } from './main-aef58dbc.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 { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
42
|
+
import './index-c7e2ac95.js';
|
|
43
|
+
import './smoothscroll-0cd4c7a6.js';
|
|
53
44
|
import './GroupDeck.js';
|
|
54
|
-
import '
|
|
55
|
-
import './
|
|
56
|
-
import './
|
|
45
|
+
import 'react-bootstrap';
|
|
46
|
+
import './iconBase-602d52fe.js';
|
|
47
|
+
import './index.esm-3fdda599.js';
|
|
48
|
+
import { r as renderAuthor, g as getSerializers } from './index-a5e7c80c.js';
|
|
49
|
+
import './util-7700fc59.js';
|
|
50
|
+
import './brightcove-react-player-loader.es-e1c6b0f2.js';
|
|
51
|
+
import Head from 'next/head';
|
|
52
|
+
import 'react-share';
|
|
53
|
+
import SocialShare from './SocialShare.js';
|
|
54
|
+
import './_object-to-array-7e804fce.js';
|
|
57
55
|
import 'react-bootstrap/Pagination';
|
|
58
|
-
import '
|
|
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-f6156a57.js';
|
|
65
|
-
import './iconBase-ccc56b97.js';
|
|
56
|
+
import Button from 'react-bootstrap/Button';
|
|
66
57
|
import 'react-bootstrap/Figure';
|
|
67
|
-
import '
|
|
68
|
-
import '
|
|
69
|
-
import './
|
|
58
|
+
import Form from 'react-bootstrap/Form';
|
|
59
|
+
import FormControl from 'react-bootstrap/FormControl';
|
|
60
|
+
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
61
|
+
import 'react-bootstrap/Dropdown';
|
|
62
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
63
|
+
import getSeriesDetail from './getSeriesDetail.js';
|
|
70
64
|
import './index-db3bb315.js';
|
|
65
|
+
import getRelatedArticle from './getRelatedArticle.js';
|
|
66
|
+
import getQuery from './getQuery.js';
|
|
67
|
+
import { S as SeriesSlider } from './SeriesSlider-802c4daf.js';
|
|
68
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-831bc794.js';
|
|
69
|
+
import getKeywords from './getKeywords.js';
|
|
70
|
+
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
71
|
+
import { DiscussionEmbed } from 'disqus-react';
|
|
71
72
|
|
|
72
73
|
var getArticleSummary = function getArticleSummary(article) {
|
|
73
74
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -145,17 +146,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
145
146
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
146
147
|
}
|
|
147
148
|
|
|
148
|
-
return
|
|
149
|
+
return React.createElement(
|
|
149
150
|
'a',
|
|
150
151
|
{
|
|
151
152
|
href: url,
|
|
152
153
|
className: 'doc-group',
|
|
153
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
154
|
-
thumbnailUrl &&
|
|
155
|
-
!thumbnailUrl &&
|
|
156
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
155
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
156
|
+
!thumbnailUrl && React.createElement('p', {
|
|
157
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_39 ? 'left' : 'right', marginTop: '.25rem' },
|
|
157
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
158
|
-
|
|
159
|
+
main_39 && !thumbnailUrl && React.createElement(
|
|
159
160
|
'style',
|
|
160
161
|
{ jsx: 'true' },
|
|
161
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -295,38 +296,38 @@ var ISI = function ISI(props) {
|
|
|
295
296
|
}, 300);
|
|
296
297
|
}
|
|
297
298
|
};
|
|
298
|
-
return
|
|
299
|
-
|
|
299
|
+
return React.createElement(
|
|
300
|
+
React.Fragment,
|
|
300
301
|
null,
|
|
301
|
-
|
|
302
|
+
React.createElement(
|
|
302
303
|
'div',
|
|
303
304
|
{ id: 'isi', ref: isi },
|
|
304
|
-
|
|
305
|
+
React.createElement(
|
|
305
306
|
'div',
|
|
306
307
|
{ id: 'isiContent' },
|
|
307
|
-
|
|
308
|
+
React.createElement(
|
|
308
309
|
'div',
|
|
309
310
|
{ onClick: function onClick() {
|
|
310
311
|
return setActive(function (prev) {
|
|
311
312
|
return !prev;
|
|
312
313
|
});
|
|
313
314
|
}, id: 'isiToggle' },
|
|
314
|
-
active ?
|
|
315
|
+
active ? React.createElement(
|
|
315
316
|
'p',
|
|
316
317
|
null,
|
|
317
318
|
'Close ',
|
|
318
|
-
|
|
319
|
-
) :
|
|
319
|
+
React.createElement(FaMinus, null)
|
|
320
|
+
) : React.createElement(
|
|
320
321
|
'p',
|
|
321
322
|
null,
|
|
322
323
|
'See More ',
|
|
323
|
-
|
|
324
|
+
React.createElement(FaPlus, null)
|
|
324
325
|
)
|
|
325
326
|
),
|
|
326
327
|
children
|
|
327
328
|
)
|
|
328
329
|
),
|
|
329
|
-
|
|
330
|
+
React.createElement(
|
|
330
331
|
'style',
|
|
331
332
|
{ jsx: true },
|
|
332
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 '
|
|
@@ -334,7 +335,7 @@ var ISI = function ISI(props) {
|
|
|
334
335
|
);
|
|
335
336
|
};
|
|
336
337
|
|
|
337
|
-
var css = ".RelatedArticles-module_mediaContainer__10h9k {\
|
|
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
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" };
|
|
339
340
|
styleInject(css);
|
|
340
341
|
|
|
@@ -348,33 +349,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
348
349
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
349
350
|
return null;
|
|
350
351
|
}
|
|
351
|
-
return
|
|
352
|
+
return React.createElement(
|
|
352
353
|
'div',
|
|
353
354
|
{ className: styles.mediaContainer },
|
|
354
355
|
articles.map(function (article, index) {
|
|
355
|
-
return
|
|
356
|
+
return React.createElement(
|
|
356
357
|
'div',
|
|
357
358
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
358
|
-
|
|
359
|
+
React.createElement(
|
|
359
360
|
'a',
|
|
360
361
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
361
|
-
article.thumbnail ?
|
|
362
|
+
article.thumbnail ? React.createElement('img', {
|
|
362
363
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
363
364
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
364
365
|
alt: article.title
|
|
365
|
-
}) :
|
|
366
|
-
|
|
366
|
+
}) : React.createElement(
|
|
367
|
+
React.Fragment,
|
|
367
368
|
null,
|
|
368
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
369
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
369
370
|
)
|
|
370
371
|
),
|
|
371
|
-
|
|
372
|
+
React.createElement(
|
|
372
373
|
'div',
|
|
373
374
|
{ className: styles.mediaBody },
|
|
374
|
-
|
|
375
|
+
React.createElement(
|
|
375
376
|
'a',
|
|
376
377
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
377
|
-
|
|
378
|
+
React.createElement(
|
|
378
379
|
'div',
|
|
379
380
|
{ className: styles.cardTitle },
|
|
380
381
|
article.title
|
|
@@ -526,9 +527,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
526
527
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
527
528
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
528
529
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
529
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
530
|
-
props.active
|
|
531
|
-
|
|
530
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh,
|
|
531
|
+
active = props.active,
|
|
532
|
+
containerHeight = props.containerHeight,
|
|
532
533
|
_props$refreshFlag = props.refreshFlag,
|
|
533
534
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
534
535
|
disqusConfig = props.disqusConfig,
|
|
@@ -588,9 +589,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
588
589
|
setArticleBody = _useState10[1];
|
|
589
590
|
|
|
590
591
|
var _useState11 = useState(true),
|
|
591
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
592
|
-
_useState12[0]
|
|
593
|
-
|
|
592
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
593
|
+
previewAd = _useState12[0],
|
|
594
|
+
setPreviewAd = _useState12[1];
|
|
594
595
|
|
|
595
596
|
useEffect(function () {
|
|
596
597
|
var path = window && window.location && window.location.search;
|
|
@@ -611,7 +612,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
611
612
|
};
|
|
612
613
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
613
614
|
if (biography) {
|
|
614
|
-
return
|
|
615
|
+
return React.createElement(BlockContent, _extends({
|
|
615
616
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
616
617
|
blocks: [biography]
|
|
617
618
|
}, client.config()));
|
|
@@ -621,9 +622,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
621
622
|
var url = article.url.current;
|
|
622
623
|
|
|
623
624
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
624
|
-
return
|
|
625
|
+
return React.createElement(ISIContent, null);
|
|
625
626
|
} else if (nationalPage === url && ISIContent) {
|
|
626
|
-
return
|
|
627
|
+
return React.createElement(ISIContent, { national: true });
|
|
627
628
|
}
|
|
628
629
|
return null;
|
|
629
630
|
};
|
|
@@ -654,19 +655,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
654
655
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
655
656
|
}
|
|
656
657
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
657
|
-
return
|
|
658
|
+
return React.createElement(
|
|
658
659
|
'div',
|
|
659
660
|
null,
|
|
660
661
|
relatedLinks.map(function (relatedLink, index) {
|
|
661
|
-
return
|
|
662
|
+
return React.createElement(
|
|
662
663
|
'span',
|
|
663
664
|
{ key: index, className: 'related-link' },
|
|
664
|
-
|
|
665
|
+
React.createElement(
|
|
665
666
|
'a',
|
|
666
667
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
667
668
|
relatedLink.label
|
|
668
669
|
),
|
|
669
|
-
|
|
670
|
+
React.createElement(
|
|
670
671
|
'style',
|
|
671
672
|
{ jsx: 'true' },
|
|
672
673
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -681,23 +682,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
681
682
|
};
|
|
682
683
|
|
|
683
684
|
var RelatedContent = function RelatedContent() {
|
|
684
|
-
return
|
|
685
|
+
return React.createElement(
|
|
685
686
|
'section',
|
|
686
687
|
{ id: 'related-content-section', className: 'my-1' },
|
|
687
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
688
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
688
689
|
'p',
|
|
689
690
|
{ className: 'mb-0' },
|
|
690
|
-
|
|
691
|
+
React.createElement(
|
|
691
692
|
'b',
|
|
692
693
|
null,
|
|
693
694
|
'Related Content:'
|
|
694
695
|
)
|
|
695
696
|
),
|
|
696
|
-
|
|
697
|
-
|
|
697
|
+
React.createElement(RelevantTopics, null),
|
|
698
|
+
React.createElement(
|
|
698
699
|
'div',
|
|
699
700
|
{ className: 'pt-2' },
|
|
700
|
-
|
|
701
|
+
React.createElement(RelatedArticle, {
|
|
701
702
|
articles: article.relatedArticle,
|
|
702
703
|
client: client,
|
|
703
704
|
fallbackImage: props.Settings.logo,
|
|
@@ -708,28 +709,28 @@ var Article = forwardRef(function (props, ref) {
|
|
|
708
709
|
};
|
|
709
710
|
|
|
710
711
|
var form = function form() {
|
|
711
|
-
return
|
|
712
|
-
|
|
712
|
+
return React.createElement(
|
|
713
|
+
React.Fragment,
|
|
713
714
|
null,
|
|
714
|
-
|
|
715
|
+
React.createElement(
|
|
715
716
|
Head,
|
|
716
717
|
null,
|
|
717
|
-
|
|
718
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
718
719
|
),
|
|
719
|
-
|
|
720
|
+
React.createElement(
|
|
720
721
|
'div',
|
|
721
722
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
722
|
-
|
|
723
|
+
React.createElement(
|
|
723
724
|
Form,
|
|
724
725
|
{
|
|
725
726
|
inline: true,
|
|
726
727
|
onSubmit: function onSubmit(e) {
|
|
727
728
|
e.preventDefault();
|
|
728
729
|
} },
|
|
729
|
-
|
|
730
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
730
731
|
return setPasswordKey(e.target.value);
|
|
731
732
|
}, placeholder: 'Password' }),
|
|
732
|
-
|
|
733
|
+
React.createElement(
|
|
733
734
|
Button,
|
|
734
735
|
{
|
|
735
736
|
variant: 'primary',
|
|
@@ -779,31 +780,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
779
780
|
setContextualADFlag(true);
|
|
780
781
|
}
|
|
781
782
|
};
|
|
782
|
-
return
|
|
783
|
-
|
|
783
|
+
return React.createElement(
|
|
784
|
+
React.Fragment,
|
|
784
785
|
null,
|
|
785
|
-
|
|
786
|
+
React.createElement(BlockContent, _extends({
|
|
786
787
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
787
788
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
788
789
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
789
790
|
}, client.config())),
|
|
790
|
-
|
|
791
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
792
|
-
|
|
791
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
792
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
793
|
+
React.createElement(
|
|
793
794
|
'div',
|
|
794
795
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
795
|
-
|
|
796
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
796
797
|
refreshFlag: refreshFlag
|
|
797
798
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
798
799
|
}))
|
|
799
800
|
),
|
|
800
|
-
|
|
801
|
-
|
|
801
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
802
|
+
React.createElement(
|
|
802
803
|
'div',
|
|
803
804
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
804
|
-
|
|
805
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
805
806
|
),
|
|
806
|
-
|
|
807
|
+
React.createElement(BlockContent, _extends({
|
|
807
808
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
808
809
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
809
810
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -828,26 +829,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
828
829
|
if (seriesInfo.hasVideo) {
|
|
829
830
|
_selectedIndex = seriesInfo.videoIndex;
|
|
830
831
|
}
|
|
831
|
-
return
|
|
832
|
-
|
|
832
|
+
return React.createElement(
|
|
833
|
+
React.Fragment,
|
|
833
834
|
null,
|
|
834
|
-
|
|
835
|
+
React.createElement(BlockContent, _extends({
|
|
835
836
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
836
837
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
837
838
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
838
839
|
}, client.config())),
|
|
839
|
-
contextualADFlag &&
|
|
840
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
841
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
840
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
841
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
842
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
842
843
|
'div',
|
|
843
844
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
844
|
-
|
|
845
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
845
846
|
refreshFlag: refreshFlag
|
|
846
847
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
847
848
|
}))
|
|
848
849
|
),
|
|
849
|
-
contextualADFlag &&
|
|
850
|
-
|
|
850
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
851
|
+
React.createElement(BlockContent, _extends({
|
|
851
852
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
852
853
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
853
854
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -877,22 +878,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
877
878
|
}
|
|
878
879
|
};
|
|
879
880
|
|
|
880
|
-
return
|
|
881
|
-
|
|
881
|
+
return React.createElement(
|
|
882
|
+
React.Fragment,
|
|
882
883
|
null,
|
|
883
|
-
|
|
884
|
+
React.createElement(BlockContent, _extends({
|
|
884
885
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
885
886
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
886
887
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
887
888
|
}, client.config())),
|
|
888
|
-
|
|
889
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
890
|
-
|
|
889
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
890
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
891
|
+
React.createElement(
|
|
891
892
|
'div',
|
|
892
893
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
893
|
-
|
|
894
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
894
895
|
),
|
|
895
|
-
|
|
896
|
+
React.createElement(BlockContent, _extends({
|
|
896
897
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
897
898
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
898
899
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -904,16 +905,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
904
905
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
905
906
|
}
|
|
906
907
|
|
|
907
|
-
return
|
|
908
|
+
return React.createElement(
|
|
908
909
|
'div',
|
|
909
910
|
null,
|
|
910
|
-
|
|
911
|
+
React.createElement(BlockContent, _extends({
|
|
911
912
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
912
913
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
913
914
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
914
915
|
}, client.config())),
|
|
915
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
916
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
916
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
917
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
917
918
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
918
919
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
919
920
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -958,8 +959,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
958
959
|
shareSubject = shareOptions.shareSubject,
|
|
959
960
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
960
961
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
961
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
962
|
-
shareOptions.shareSiteTitle;
|
|
962
|
+
shareBaseUrl = shareOptions.shareBaseUrl,
|
|
963
|
+
shareSiteTitle = shareOptions.shareSiteTitle;
|
|
963
964
|
|
|
964
965
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
965
966
|
var shareTitle = article.title;
|
|
@@ -999,10 +1000,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
999
1000
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1000
1001
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1001
1002
|
|
|
1002
|
-
return
|
|
1003
|
-
|
|
1003
|
+
return React.createElement(
|
|
1004
|
+
React.Fragment,
|
|
1004
1005
|
null,
|
|
1005
|
-
|
|
1006
|
+
React.createElement(
|
|
1006
1007
|
VisibilitySensor,
|
|
1007
1008
|
{
|
|
1008
1009
|
partialVisibility: true,
|
|
@@ -1015,61 +1016,61 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1015
1016
|
});
|
|
1016
1017
|
}
|
|
1017
1018
|
} },
|
|
1018
|
-
|
|
1019
|
+
React.createElement(
|
|
1019
1020
|
'div',
|
|
1020
1021
|
{ id: 'article__block', ref: ref },
|
|
1021
|
-
|
|
1022
|
+
React.createElement(
|
|
1022
1023
|
'div',
|
|
1023
1024
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1024
1025
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1025
|
-
!isVideoSeries &&
|
|
1026
|
+
!isVideoSeries && React.createElement(
|
|
1026
1027
|
'div',
|
|
1027
1028
|
null,
|
|
1028
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1029
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1029
1030
|
'p',
|
|
1030
1031
|
{ style: { fontSize: '14px' } },
|
|
1031
1032
|
article.documentGroup.name,
|
|
1032
1033
|
' - Episode ',
|
|
1033
1034
|
episodeNumber
|
|
1034
1035
|
),
|
|
1035
|
-
|
|
1036
|
+
React.createElement(
|
|
1036
1037
|
'h1',
|
|
1037
1038
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1038
1039
|
title
|
|
1039
1040
|
)
|
|
1040
1041
|
),
|
|
1041
|
-
|
|
1042
|
+
React.createElement(
|
|
1042
1043
|
'div',
|
|
1043
1044
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1044
|
-
|
|
1045
|
+
React.createElement(
|
|
1045
1046
|
'style',
|
|
1046
1047
|
{ jsx: 'true' },
|
|
1047
1048
|
'\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 '
|
|
1048
1049
|
),
|
|
1049
|
-
|
|
1050
|
+
React.createElement(
|
|
1050
1051
|
'div',
|
|
1051
1052
|
{ className: 'left-wrap' },
|
|
1052
|
-
!isVideoSeries && showPublished &&
|
|
1053
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1053
1054
|
'div',
|
|
1054
1055
|
null,
|
|
1055
1056
|
moment(published).format('LL')
|
|
1056
1057
|
)
|
|
1057
1058
|
/* Show Published date */
|
|
1058
1059
|
,
|
|
1059
|
-
|
|
1060
|
+
React.createElement(
|
|
1060
1061
|
'div',
|
|
1061
1062
|
{ className: 'mb-3' },
|
|
1062
1063
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1063
|
-
return
|
|
1064
|
+
return React.createElement(
|
|
1064
1065
|
'span',
|
|
1065
1066
|
{ key: index },
|
|
1066
1067
|
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 }))
|
|
1067
1068
|
);
|
|
1068
1069
|
}),
|
|
1069
|
-
|
|
1070
|
+
React.createElement(
|
|
1070
1071
|
'div',
|
|
1071
1072
|
null,
|
|
1072
|
-
source &&
|
|
1073
|
+
source && React.createElement(
|
|
1073
1074
|
'p',
|
|
1074
1075
|
{
|
|
1075
1076
|
style: {
|
|
@@ -1084,13 +1085,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1084
1085
|
source
|
|
1085
1086
|
)
|
|
1086
1087
|
),
|
|
1087
|
-
issue &&
|
|
1088
|
+
issue && React.createElement(
|
|
1088
1089
|
'div',
|
|
1089
1090
|
{ className: 'volume-issue' },
|
|
1090
|
-
issue.publication && issue.publication.name &&
|
|
1091
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1091
1092
|
'span',
|
|
1092
1093
|
{ className: 'mb-0' },
|
|
1093
|
-
|
|
1094
|
+
React.createElement(
|
|
1094
1095
|
'b',
|
|
1095
1096
|
null,
|
|
1096
1097
|
issue.publication.name
|
|
@@ -1098,34 +1099,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1098
1099
|
',',
|
|
1099
1100
|
' '
|
|
1100
1101
|
),
|
|
1101
|
-
issue.name &&
|
|
1102
|
+
issue.name && React.createElement(
|
|
1102
1103
|
'span',
|
|
1103
1104
|
{ className: 'mb-0' },
|
|
1104
1105
|
issue.name,
|
|
1105
1106
|
', '
|
|
1106
1107
|
),
|
|
1107
|
-
issue.volume &&
|
|
1108
|
+
issue.volume && React.createElement(
|
|
1108
1109
|
'span',
|
|
1109
1110
|
null,
|
|
1110
1111
|
'Volume ' + issue.volume,
|
|
1111
1112
|
','
|
|
1112
1113
|
),
|
|
1113
|
-
issue.issueNumber &&
|
|
1114
|
+
issue.issueNumber && React.createElement(
|
|
1114
1115
|
'span',
|
|
1115
1116
|
null,
|
|
1116
1117
|
' Issue ' + issue.issueNumber
|
|
1117
1118
|
)
|
|
1118
1119
|
),
|
|
1119
|
-
pageNumber &&
|
|
1120
|
+
pageNumber && React.createElement(
|
|
1120
1121
|
'div',
|
|
1121
1122
|
{ className: 'article-pageNumber' },
|
|
1122
1123
|
'Pages: ' + pageNumber
|
|
1123
1124
|
)
|
|
1124
1125
|
),
|
|
1125
|
-
!isVideoSeries && showSocialShare &&
|
|
1126
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1126
1127
|
'p',
|
|
1127
1128
|
null,
|
|
1128
|
-
|
|
1129
|
+
React.createElement(SocialShare, {
|
|
1129
1130
|
shareUrl: shareUrl,
|
|
1130
1131
|
shareTitle: shareTitle,
|
|
1131
1132
|
shareVia: shareVia,
|
|
@@ -1141,27 +1142,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1141
1142
|
})
|
|
1142
1143
|
)
|
|
1143
1144
|
),
|
|
1144
|
-
|
|
1145
|
+
React.createElement(
|
|
1145
1146
|
'div',
|
|
1146
1147
|
null,
|
|
1147
|
-
|
|
1148
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1148
1149
|
)
|
|
1149
1150
|
),
|
|
1150
|
-
!isVideoSeries && summary && display_summary &&
|
|
1151
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1151
1152
|
'p',
|
|
1152
1153
|
null,
|
|
1153
|
-
|
|
1154
|
+
React.createElement(
|
|
1154
1155
|
'em',
|
|
1155
1156
|
null,
|
|
1156
1157
|
summary
|
|
1157
1158
|
)
|
|
1158
1159
|
),
|
|
1159
|
-
|
|
1160
|
+
React.createElement(
|
|
1160
1161
|
'div',
|
|
1161
1162
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1162
|
-
|
|
1163
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1163
1164
|
if (index === 0) {
|
|
1164
|
-
return
|
|
1165
|
+
return React.createElement(
|
|
1165
1166
|
'div',
|
|
1166
1167
|
{
|
|
1167
1168
|
key: index,
|
|
@@ -1178,24 +1179,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1178
1179
|
}
|
|
1179
1180
|
})
|
|
1180
1181
|
),
|
|
1181
|
-
|
|
1182
|
+
React.createElement(
|
|
1182
1183
|
'div',
|
|
1183
1184
|
{ className: 'block-content mt-3' },
|
|
1184
1185
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1185
|
-
|
|
1186
|
-
|
|
1186
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1187
|
+
React.createElement(
|
|
1187
1188
|
'noscript',
|
|
1188
1189
|
null,
|
|
1189
|
-
|
|
1190
|
+
React.createElement(
|
|
1190
1191
|
'div',
|
|
1191
1192
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1192
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1193
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1193
1194
|
'a',
|
|
1194
1195
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1195
1196
|
'Previous ',
|
|
1196
1197
|
props.article.seriesDetail.type
|
|
1197
1198
|
),
|
|
1198
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1199
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1199
1200
|
'a',
|
|
1200
1201
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1201
1202
|
'Next ',
|
|
@@ -1203,26 +1204,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1203
1204
|
)
|
|
1204
1205
|
)
|
|
1205
1206
|
),
|
|
1206
|
-
issue && issue.url &&
|
|
1207
|
+
issue && issue.url && React.createElement(
|
|
1207
1208
|
'a',
|
|
1208
1209
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1209
|
-
|
|
1210
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1210
1211
|
'Download Issue : ',
|
|
1211
1212
|
issue.name
|
|
1212
1213
|
)
|
|
1213
1214
|
),
|
|
1214
|
-
|
|
1215
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1215
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1216
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1216
1217
|
'div',
|
|
1217
1218
|
null,
|
|
1218
1219
|
false ,
|
|
1219
|
-
|
|
1220
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1220
1221
|
),
|
|
1221
|
-
showRelatedArticles && !showIsi &&
|
|
1222
|
-
disqusConfig && showDisqus &&
|
|
1222
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1223
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1223
1224
|
'div',
|
|
1224
1225
|
{ id: 'disqusContainer' },
|
|
1225
|
-
|
|
1226
|
+
React.createElement(DiscussionEmbed, {
|
|
1226
1227
|
shortname: disqusConfig.shortname,
|
|
1227
1228
|
config: {
|
|
1228
1229
|
url: disqusConfig.url,
|
|
@@ -1235,30 +1236,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1235
1236
|
renderIsiContent(props.article)
|
|
1236
1237
|
)
|
|
1237
1238
|
),
|
|
1238
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1239
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1239
1240
|
ISI,
|
|
1240
1241
|
null,
|
|
1241
|
-
|
|
1242
|
+
React.createElement(BlockContent, {
|
|
1242
1243
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1243
1244
|
blocks: isi
|
|
1244
1245
|
})
|
|
1245
1246
|
),
|
|
1246
|
-
|
|
1247
|
+
main_39 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1247
1248
|
if (index > 0) {
|
|
1248
|
-
return
|
|
1249
|
+
return React.createElement(
|
|
1249
1250
|
'div',
|
|
1250
1251
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1251
1252
|
ad.component
|
|
1252
1253
|
);
|
|
1253
1254
|
}
|
|
1254
1255
|
}),
|
|
1255
|
-
|
|
1256
|
+
React.createElement(
|
|
1256
1257
|
'noscript',
|
|
1257
1258
|
null,
|
|
1258
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1259
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1259
1260
|
'div',
|
|
1260
1261
|
{ style: { textAlign: 'center' } },
|
|
1261
|
-
|
|
1262
|
+
React.createElement(
|
|
1262
1263
|
'a',
|
|
1263
1264
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1264
1265
|
'Related Article ',
|
|
@@ -1266,7 +1267,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1266
1267
|
)
|
|
1267
1268
|
)
|
|
1268
1269
|
),
|
|
1269
|
-
props.infiniteScroll &&
|
|
1270
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' })
|
|
1270
1271
|
);
|
|
1271
1272
|
};
|
|
1272
1273
|
|
|
@@ -1281,16 +1282,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1281
1282
|
}
|
|
1282
1283
|
});
|
|
1283
1284
|
|
|
1284
|
-
var _this
|
|
1285
|
+
var _this = undefined;
|
|
1285
1286
|
|
|
1286
1287
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1287
1288
|
var _props$prevUrl = props.prevUrl,
|
|
1288
1289
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1289
1290
|
Ads = props.Ads,
|
|
1290
1291
|
_props$maxListLength = props.maxListLength,
|
|
1291
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1292
|
-
props.sponsoredTaxonomies
|
|
1293
|
-
|
|
1292
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength,
|
|
1293
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1294
|
+
_props$cpModification = props.cpModificationRequired,
|
|
1294
1295
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1295
1296
|
_props$authorPrefix = props.authorPrefix,
|
|
1296
1297
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1339,7 +1340,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1339
1340
|
return item.url.current === path;
|
|
1340
1341
|
});
|
|
1341
1342
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1342
|
-
if (!
|
|
1343
|
+
if (!main_39) {
|
|
1343
1344
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1344
1345
|
if (window.googletag && googletag.pubadsReady) {
|
|
1345
1346
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1356,7 +1357,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1356
1357
|
});
|
|
1357
1358
|
}
|
|
1358
1359
|
//Refresh leaderboard ad on mobile
|
|
1359
|
-
if (
|
|
1360
|
+
if (main_39) {
|
|
1360
1361
|
var leaderboardSlotId = '';
|
|
1361
1362
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1362
1363
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1460,7 +1461,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1460
1461
|
return _context.stop();
|
|
1461
1462
|
}
|
|
1462
1463
|
}
|
|
1463
|
-
}, _callee, _this
|
|
1464
|
+
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1464
1465
|
}));
|
|
1465
1466
|
|
|
1466
1467
|
return function loadmore() {
|
|
@@ -1505,14 +1506,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1505
1506
|
refreshAD(path);
|
|
1506
1507
|
};
|
|
1507
1508
|
|
|
1508
|
-
return
|
|
1509
|
+
return React.createElement(
|
|
1509
1510
|
InfiniteScroll,
|
|
1510
1511
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1511
1512
|
queueData.map(function (article, index) {
|
|
1512
|
-
return
|
|
1513
|
-
|
|
1513
|
+
return React.createElement(
|
|
1514
|
+
React.Fragment,
|
|
1514
1515
|
null,
|
|
1515
|
-
|
|
1516
|
+
React.createElement(Article, _extends({
|
|
1516
1517
|
key: index
|
|
1517
1518
|
}, props, {
|
|
1518
1519
|
containerHeight: containerHeight,
|
|
@@ -1530,7 +1531,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1530
1531
|
);
|
|
1531
1532
|
};
|
|
1532
1533
|
|
|
1533
|
-
var _this = undefined;
|
|
1534
|
+
var _this$1 = undefined;
|
|
1534
1535
|
|
|
1535
1536
|
var View = function View(props) {
|
|
1536
1537
|
var router = useRouter();
|
|
@@ -1540,9 +1541,9 @@ var View = function View(props) {
|
|
|
1540
1541
|
hideComments = _props$article.hideComments,
|
|
1541
1542
|
content_placement = _props$article.content_placement,
|
|
1542
1543
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1543
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1544
|
-
props.sponsoredTaxonomies
|
|
1545
|
-
|
|
1544
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
1545
|
+
_props$sponsoredTaxon = props.sponsoredTaxonomies,
|
|
1546
|
+
Ads = props.Ads,
|
|
1546
1547
|
setCustomDimensions = props.setCustomDimensions,
|
|
1547
1548
|
statusCode = props.statusCode,
|
|
1548
1549
|
prevUrl = props.prevUrl,
|
|
@@ -1555,9 +1556,9 @@ var View = function View(props) {
|
|
|
1555
1556
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1556
1557
|
var _props$article2 = props.article,
|
|
1557
1558
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1558
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1559
|
-
_props$article2.description
|
|
1560
|
-
|
|
1559
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw,
|
|
1560
|
+
description = _props$article2.description,
|
|
1561
|
+
title = _props$article2.title,
|
|
1561
1562
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1562
1563
|
|
|
1563
1564
|
var _useState = useState(0),
|
|
@@ -1618,6 +1619,7 @@ var View = function View(props) {
|
|
|
1618
1619
|
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;
|
|
1619
1620
|
|
|
1620
1621
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1622
|
+
description = null;
|
|
1621
1623
|
title = null;
|
|
1622
1624
|
}
|
|
1623
1625
|
|
|
@@ -1654,63 +1656,63 @@ var View = function View(props) {
|
|
|
1654
1656
|
meta_description = seriesShareOptions && seriesShareOptions.seriesSummary ? '' + seriesShareOptions.seriesSummary + (currentPage > 0 ? ' | Page ' + currentPage : '') : '';
|
|
1655
1657
|
}
|
|
1656
1658
|
|
|
1657
|
-
return
|
|
1658
|
-
|
|
1659
|
+
return React.createElement(
|
|
1660
|
+
React.Fragment,
|
|
1659
1661
|
null,
|
|
1660
|
-
|
|
1662
|
+
React.createElement(
|
|
1661
1663
|
Head,
|
|
1662
1664
|
null,
|
|
1663
|
-
|
|
1665
|
+
React.createElement(
|
|
1664
1666
|
'title',
|
|
1665
1667
|
{ key: 'title' },
|
|
1666
1668
|
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 : '')
|
|
1667
1669
|
),
|
|
1668
|
-
meta_description &&
|
|
1669
|
-
|
|
1670
|
-
passwordLock &&
|
|
1671
|
-
|
|
1670
|
+
meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1671
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1672
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1673
|
+
React.createElement('meta', {
|
|
1672
1674
|
property: 'og:url',
|
|
1673
1675
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1674
1676
|
key: 'og:url'
|
|
1675
1677
|
}),
|
|
1676
|
-
|
|
1678
|
+
React.createElement('meta', {
|
|
1677
1679
|
property: 'og:title',
|
|
1678
1680
|
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 : ''),
|
|
1679
1681
|
key: 'og:title'
|
|
1680
1682
|
}),
|
|
1681
|
-
|
|
1683
|
+
React.createElement('meta', {
|
|
1682
1684
|
property: 'og:image',
|
|
1683
1685
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1684
1686
|
key: 'og:image'
|
|
1685
1687
|
}),
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1688
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1689
|
+
React.createElement('meta', { property: 'og:description', content: meta_description, key: 'og:description' }),
|
|
1690
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1691
|
+
React.createElement('meta', {
|
|
1690
1692
|
name: 'twitter:title',
|
|
1691
1693
|
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 : ''),
|
|
1692
1694
|
key: 'twitter:title'
|
|
1693
1695
|
}),
|
|
1694
|
-
|
|
1696
|
+
React.createElement('meta', {
|
|
1695
1697
|
name: 'twitter:image',
|
|
1696
1698
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1697
1699
|
key: 'twitter:image'
|
|
1698
1700
|
}),
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
canonicalTag &&
|
|
1701
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1702
|
+
React.createElement('meta', { name: 'twitter:description', content: meta_description, key: 'twitter:description' }),
|
|
1703
|
+
canonicalTag && React.createElement('link', {
|
|
1702
1704
|
rel: 'canonical',
|
|
1703
1705
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1704
1706
|
key: 'canonical'
|
|
1705
1707
|
}),
|
|
1706
|
-
|
|
1708
|
+
React.createElement(
|
|
1707
1709
|
'noscript',
|
|
1708
1710
|
null,
|
|
1709
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1710
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1711
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1712
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1711
1713
|
)
|
|
1712
1714
|
),
|
|
1713
|
-
!needInfiniteScroll ?
|
|
1715
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1714
1716
|
infiniteScroll: true,
|
|
1715
1717
|
showRelatedArticles: showRelatedArticles,
|
|
1716
1718
|
canonicalTag: canonicalTag,
|
|
@@ -1847,7 +1849,7 @@ View.returnGetInitialProps = function () {
|
|
|
1847
1849
|
return _context.stop();
|
|
1848
1850
|
}
|
|
1849
1851
|
}
|
|
1850
|
-
}, _callee, _this);
|
|
1852
|
+
}, _callee, _this$1);
|
|
1851
1853
|
}));
|
|
1852
1854
|
|
|
1853
1855
|
return function (_x, _x2, _x3, _x4, _x5) {
|