@mjhls/mjh-framework 1.0.850-beta.3 → 1.0.850
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 +10 -9
- package/dist/cjs/AD300x250.js +31 -30
- package/dist/cjs/AD300x250x600.js +31 -30
- package/dist/cjs/AD728x90.js +34 -33
- package/dist/cjs/ADFloatingFooter.js +33 -32
- package/dist/cjs/ADFooter.js +15 -14
- package/dist/cjs/ADGutter.js +33 -32
- package/dist/cjs/{ADInfeed-98c71bcd.js → ADInfeed-fb136f1d.js} +15 -13
- package/dist/cjs/ADSkyscraper.js +33 -32
- package/dist/cjs/ADSponsoredResources.js +33 -32
- package/dist/cjs/ADWebcast.js +33 -32
- package/dist/cjs/ADWelcome.js +34 -33
- package/dist/cjs/{ADlgInfeed-9de32585.js → ADlgInfeed-d303d27e.js} +11 -10
- package/dist/cjs/AccordionPanel.js +31 -29
- package/dist/cjs/AdSlot.js +36 -35
- package/dist/cjs/AdSlotsProvider.js +21 -19
- package/dist/cjs/AlgoliaSearch.js +1087 -1068
- package/dist/cjs/AlphabeticList.js +26 -25
- package/dist/cjs/ArticleCarousel.js +24 -23
- package/dist/cjs/ArticleProgramLandingPage.js +60 -58
- package/dist/cjs/ArticleSeriesLandingPage.js +41 -40
- package/dist/cjs/ArticleSeriesListing.js +62 -61
- package/dist/cjs/Auth.js +3652 -0
- package/dist/cjs/AuthWrapper.js +311 -269
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-c21aac7f.js} +14 -13
- package/dist/cjs/Beam.js +8 -8
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-36e54d77.js} +56 -55
- package/dist/cjs/Breadcrumbs.js +29 -27
- package/dist/cjs/CMEDeck.js +83 -83
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +36 -33
- package/dist/cjs/Column3.js +62 -59
- package/dist/cjs/ConferenceArticleCard.js +38 -37
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +107 -103
- package/dist/cjs/DeckQueue.js +92 -88
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-93399f8c.js} +35 -34
- package/dist/cjs/EventsDeck.js +159 -152
- package/dist/cjs/ExternalResources.js +81 -79
- package/dist/cjs/Feature.js +26 -24
- package/dist/cjs/ForbesHero.js +43 -42
- package/dist/cjs/GridContent.js +238 -233
- package/dist/cjs/GridHero.js +45 -44
- package/dist/cjs/GroupDeck.js +60 -59
- package/dist/cjs/HamMagazine.js +145 -140
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +13 -12
- package/dist/cjs/HighlightenVideo.js +18 -17
- package/dist/cjs/HorizontalArticleListing.js +73 -71
- package/dist/cjs/HorizontalHero.js +25 -24
- package/dist/cjs/IssueContentDeck.js +78 -73
- package/dist/cjs/IssueDeck.js +77 -72
- package/dist/cjs/IssueLanding.js +96 -92
- package/dist/cjs/KMTracker.js +15 -15
- package/dist/cjs/LeftNav.js +41 -39
- package/dist/cjs/MasterDeck.js +81 -80
- package/dist/cjs/MediaSeriesLanding.js +1118 -1126
- package/dist/cjs/NavDvm.js +79 -74
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +152 -147
- package/dist/cjs/NavNative.js +147 -139
- package/dist/cjs/OncliveHero.js +19 -19
- package/dist/cjs/OncliveLargeHero.js +73 -72
- package/dist/cjs/PageFilter.js +15 -14
- package/dist/cjs/PartnerDetailListing.js +109 -105
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +21 -19
- package/dist/cjs/PubSection.js +43 -40
- package/dist/cjs/PubToc.js +16 -15
- package/dist/cjs/PublicationDeck.js +67 -62
- package/dist/cjs/PublicationLanding.js +139 -135
- package/dist/cjs/QueueDeckExpanded.js +1174 -2074
- package/dist/cjs/RecentNews.js +22 -21
- package/dist/cjs/RelatedContent.js +55 -54
- package/dist/cjs/RelatedTopicsDropdown.js +32 -29
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +22 -18
- package/dist/cjs/Segment.js +6 -6
- package/dist/cjs/SeriesListingDeck.js +38 -38
- package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-cbab9f0f.js} +40 -39
- package/dist/cjs/SetCookie.js +1 -1
- package/dist/cjs/SideFooter.js +39 -38
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-ecb4f972.js} +40 -36
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +64 -59
- package/dist/cjs/TaxonomyDescription.js +56 -54
- package/dist/cjs/TemplateNormal.js +75 -74
- package/dist/cjs/ThumbnailCard.js +23 -21
- package/dist/cjs/Ustream.js +30 -29
- package/dist/cjs/VerticalHero.js +17 -16
- package/dist/cjs/VideoProgramLandingPage.js +78 -73
- package/dist/cjs/VideoSeriesCard.js +34 -33
- package/dist/cjs/VideoSeriesFilter.js +18 -18
- package/dist/cjs/VideoSeriesLandingPage.js +51 -50
- package/dist/cjs/VideoSeriesListing.js +79 -78
- package/dist/cjs/View.js +268 -263
- package/dist/cjs/YahooHero.js +42 -41
- package/dist/cjs/YoutubeGroup.js +67 -66
- package/dist/cjs/{_is-array-754e012d.js → _is-array-6128bd56.js} +6 -6
- package/dist/cjs/{_iter-detect-60b2f026.js → _iter-detect-55a5657a.js} +8 -8
- package/dist/cjs/{_object-pie-68c5bcbc.js → _object-pie-083f2dd6.js} +4 -4
- package/dist/cjs/{_object-sap-5e74ba08.js → _object-sap-a175b4a9.js} +1 -1
- package/dist/cjs/{_object-to-array-5762f850.js → _object-to-array-8fe5a54f.js} +2 -2
- package/dist/cjs/{_to-object-329a650b.js → _to-object-6de10e57.js} +8 -8
- package/dist/cjs/{asyncToGenerator-140e5f89.js → asyncToGenerator-58c289d9.js} +32 -32
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-a195642e.js} +11 -9
- package/dist/cjs/{core.get-iterator-method-f62321d4.js → core.get-iterator-method-f474eacc.js} +2 -2
- package/dist/cjs/{debounce-529c8d06.js → debounce-d4a2369b.js} +2 -2
- package/dist/cjs/{define-property-f4d12f4e.js → define-property-c88be878.js} +6 -6
- package/dist/cjs/{defineProperty-55548b25.js → defineProperty-0cb76d99.js} +1 -1
- package/dist/cjs/{entities-310b46ee.js → entities-3f9d0f2f.js} +1 -1
- package/dist/cjs/{eq-bb2843ed.js → eq-5fc26c07.js} +1 -1
- package/dist/cjs/{es6.string.iterator-cc0bbaa4.js → es6.string.iterator-c2573ffd.js} +6 -6
- package/dist/cjs/{extends-0a918631.js → extends-29bdbc6d.js} +7 -7
- package/dist/cjs/faundadb.js +10 -327
- package/dist/cjs/{get-adbb11e3.js → get-5839e5b5.js} +21 -21
- package/dist/cjs/getRelatedArticle.js +445 -28
- package/dist/cjs/getRootDocGroup.js +6 -6
- package/dist/cjs/getSerializers.js +45 -44
- package/dist/cjs/{getTargeting-f1821260.js → getTargeting-faf37284.js} +12 -12
- package/dist/cjs/getTargeting.js +8 -8
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-e2e62963.js → index-8041a4eb.js} +11 -1
- package/dist/cjs/{index-4151deb3.js → index-a67ab93e.js} +1009 -1558
- package/dist/cjs/index-bd6c9f56.js +211 -0
- package/dist/cjs/{index-96b3db50.js → index-eadd5035.js} +17 -15
- package/dist/cjs/{index-be0c82be.js → index-efca863c.js} +36 -30
- package/dist/cjs/{index-3294d3bc.js → index-f86bb269.js} +44 -45
- package/dist/cjs/{index-98e01cb9.js → index-fc2f1ca2.js} +13 -12
- package/dist/cjs/{index.es-9110add6.js → index.es-f3e47207.js} +31 -12
- package/dist/cjs/{index.esm-ff47db6f.js → index.esm-05850a2f.js} +5 -12
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-4d410430.js → index.esm-8123cf40.js} +20 -20
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +169 -158
- package/dist/cjs/{inherits-9953db94.js → inherits-c2065b95.js} +22 -22
- package/dist/cjs/{isSymbol-04666465.js → isSymbol-03abbdf0.js} +15 -15
- package/dist/cjs/keys-7f2c2108.js +25 -0
- package/dist/cjs/{lodash-fc2922d0.js → lodash-f0783643.js} +128 -31
- package/dist/cjs/main-025fdc78.js +973 -0
- package/dist/cjs/md5-e1ca5797.js +323 -0
- package/dist/cjs/{moment-575fe24c.js → moment-aca40de1.js} +11 -9
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-af932527.js} +28 -27
- package/dist/cjs/{slicedToArray-8f385299.js → slicedToArray-5d1bc3b3.js} +14 -14
- package/dist/cjs/{smoothscroll-5054361f.js → smoothscroll-99df7f93.js} +1 -1
- package/dist/cjs/stringify-c9ac1214.js +17 -0
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{toConsumableArray-9a3476fe.js → toConsumableArray-ddb70795.js} +9 -9
- package/dist/cjs/{toNumber-36d1e7e5.js → toNumber-5e1fac58.js} +40 -5
- package/dist/cjs/{typeof-725500bc.js → typeof-88a668c5.js} +36 -36
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{ustream-api-d092dc31.js → ustream-api-b2b9092f.js} +4 -4
- package/dist/cjs/util-6f784d85.js +576 -0
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/cjs/{web.dom.iterable-a0e279c1.js → web.dom.iterable-46657b5c.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-bbdd5398.js → ADInfeed-df562a07.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-4473ee3b.js → ADlgInfeed-53992119.js} +8 -8
- package/dist/esm/AccordionPanel.js +24 -24
- package/dist/esm/AdSlot.js +27 -27
- package/dist/esm/AdSlotsProvider.js +14 -14
- package/dist/esm/AlgoliaSearch.js +736 -718
- package/dist/esm/AlphabeticList.js +22 -22
- package/dist/esm/ArticleCarousel.js +20 -20
- package/dist/esm/ArticleProgramLandingPage.js +56 -55
- package/dist/esm/ArticleSeriesLandingPage.js +37 -37
- package/dist/esm/ArticleSeriesListing.js +57 -57
- package/dist/esm/Auth.js +3632 -0
- package/dist/esm/AuthWrapper.js +308 -267
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-5ae7409f.js} +11 -11
- package/dist/esm/Beam.js +8 -8
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-52cf21c5.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-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +98 -98
- package/dist/esm/DeckQueue.js +83 -83
- package/dist/esm/{Dfp-b7236041.js → Dfp-43f121ff.js} +22 -22
- package/dist/esm/EventsDeck.js +129 -129
- package/dist/esm/ExternalResources.js +74 -73
- package/dist/esm/Feature.js +18 -18
- package/dist/esm/ForbesHero.js +35 -35
- package/dist/esm/GridContent.js +201 -201
- 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 -68
- 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 -89
- 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 +841 -852
- package/dist/esm/NavDvm.js +59 -59
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +126 -126
- package/dist/esm/NavNative.js +116 -116
- package/dist/esm/OncliveHero.js +16 -17
- package/dist/esm/OncliveLargeHero.js +60 -60
- package/dist/esm/PageFilter.js +12 -12
- package/dist/esm/PartnerDetailListing.js +105 -102
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +14 -14
- package/dist/esm/PubSection.js +39 -37
- 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 +1152 -2052
- 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-a866bb21.js → SeriesSlider-5c62a578.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-03c3e869.js → SocialSearchComponent-cd38ae60.js} +30 -30
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +54 -54
- package/dist/esm/TaxonomyDescription.js +50 -49
- 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 -66
- 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 +248 -247
- package/dist/esm/YahooHero.js +35 -35
- package/dist/esm/YoutubeGroup.js +51 -51
- package/dist/esm/{_is-array-58e95429.js → _is-array-3e99e06e.js} +6 -6
- package/dist/esm/{_iter-detect-5d49a330.js → _iter-detect-7e5e5ce2.js} +8 -8
- package/dist/esm/{_object-pie-33c40e79.js → _object-pie-133f504a.js} +4 -4
- package/dist/esm/{_object-sap-964b6feb.js → _object-sap-f353c2a9.js} +1 -1
- package/dist/esm/{_object-to-array-7e804fce.js → _object-to-array-0f197f89.js} +2 -2
- package/dist/esm/{_to-object-a4107da3.js → _to-object-b50e61c3.js} +9 -9
- package/dist/esm/{asyncToGenerator-4877b617.js → asyncToGenerator-7f8f9219.js} +33 -33
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-b43c695a.js} +7 -6
- package/dist/esm/{core.get-iterator-method-e1de7503.js → core.get-iterator-method-133dfacd.js} +2 -2
- package/dist/esm/{debounce-9207d8ee.js → debounce-533d9748.js} +2 -2
- package/dist/esm/{define-property-8af5f002.js → define-property-fe54dc9f.js} +6 -6
- package/dist/esm/{defineProperty-94fd8bfc.js → defineProperty-f5ff6f5a.js} +1 -1
- package/dist/esm/{entities-7cc3bf45.js → entities-932b50cf.js} +1 -1
- package/dist/esm/{eq-b470f743.js → eq-bdcbf886.js} +1 -1
- package/dist/esm/{es6.string.iterator-c990c18c.js → es6.string.iterator-bc33758b.js} +7 -7
- package/dist/esm/{extends-6f2fcc99.js → extends-60e0e1c6.js} +7 -7
- package/dist/esm/faundadb.js +8 -325
- package/dist/esm/{get-1e515072.js → get-3c308da4.js} +21 -21
- package/dist/esm/getRelatedArticle.js +445 -28
- package/dist/esm/getRootDocGroup.js +6 -6
- package/dist/esm/getSerializers.js +45 -44
- package/dist/esm/{getTargeting-bd800589.js → getTargeting-c3401fa7.js} +11 -11
- package/dist/esm/getTargeting.js +8 -8
- package/dist/esm/{index-73819142.js → index-0dbff1d1.js} +36 -30
- package/dist/esm/{index-41a678ea.js → index-2446af28.js} +6 -6
- package/dist/esm/{index-d6dc592a.js → index-27e2c06e.js} +963 -1519
- package/dist/esm/{index-5f7e79e7.js → index-35bdcc81.js} +10 -10
- package/dist/esm/{index-aaa2dae0.js → index-67e1773f.js} +11 -2
- package/dist/esm/{index-ef6d5dcf.js → index-79cfd25c.js} +44 -45
- package/dist/esm/index-db3bb315.js +207 -0
- package/dist/esm/{index.es-29c1cef5.js → index.es-c6222053.js} +28 -10
- package/dist/esm/{index.esm-29e48d38.js → index.esm-3fdda599.js} +6 -15
- package/dist/esm/{index.esm-fd746768.js → index.esm-8016b507.js} +17 -18
- package/dist/esm/{index.esm-cf08bf18.js → index.esm-a8ff922c.js} +5 -12
- package/dist/esm/{index.esm-f8aaeeeb.js → index.esm-c6715e80.js} +3 -6
- package/dist/esm/index.js +139 -132
- package/dist/esm/{inherits-cf8dde54.js → inherits-a41fe93f.js} +19 -19
- package/dist/esm/{isSymbol-1981418f.js → isSymbol-a7e9aafe.js} +15 -15
- package/dist/esm/{keys-8eda7a5c.js → keys-7a3adabf.js} +6 -6
- package/dist/esm/{lodash-17fdfebb.js → lodash-f97fd99a.js} +128 -31
- package/dist/esm/main-b5c5aac1.js +961 -0
- package/dist/esm/md5-4e42248e.js +321 -0
- package/dist/esm/{moment-e2f9b20c.js → moment-bc12cb97.js} +11 -9
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-91f9716f.js} +20 -20
- package/dist/esm/{slicedToArray-641f241f.js → slicedToArray-be2f7a22.js} +14 -14
- package/dist/esm/{smoothscroll-0cd4c7a6.js → smoothscroll-fa4e3f8c.js} +1 -1
- package/dist/esm/stringify-59c8f690.js +15 -0
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{toConsumableArray-43aa614d.js → toConsumableArray-6d9a4616.js} +9 -9
- package/dist/esm/{toNumber-2f7a84cd.js → toNumber-5aeba6e7.js} +40 -5
- package/dist/esm/{typeof-6435ba1c.js → typeof-a286cf0c.js} +36 -36
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{ustream-api-9a50644d.js → ustream-api-33a866b6.js} +4 -4
- package/dist/esm/util-3ab476bf.js +574 -0
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-4439f05a.js → web.dom.iterable-4109ff68.js} +3 -3
- package/package.json +110 -116
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/keys-a586b7a0.js +0 -25
- package/dist/cjs/main-02daeefe.js +0 -862
- package/dist/cjs/stringify-7c5aff47.js +0 -17
- package/dist/esm/main-e4a934b2.js +0 -851
- package/dist/esm/stringify-4330ccdc.js +0 -15
package/dist/esm/View.js
CHANGED
|
@@ -1,72 +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-27e2c06e.js';
|
|
19
|
+
import DFPAdSlot from './AdSlot.js';
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-5c62a578.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-c3401fa7.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';
|
|
1
35
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
2
|
-
import './
|
|
3
|
-
import './
|
|
36
|
+
import './es6.string.iterator-bc33758b.js';
|
|
37
|
+
import './_to-object-b50e61c3.js';
|
|
38
|
+
import './web.dom.iterable-4109ff68.js';
|
|
4
39
|
import './_library-528f1934.js';
|
|
5
|
-
import './
|
|
6
|
-
import
|
|
7
|
-
import './
|
|
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';
|
|
40
|
+
import './core.get-iterator-method-133dfacd.js';
|
|
41
|
+
import './_iter-detect-7e5e5ce2.js';
|
|
42
|
+
import './_object-pie-133f504a.js';
|
|
19
43
|
import 'prop-types';
|
|
20
|
-
import '
|
|
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';
|
|
44
|
+
import './index-0dbff1d1.js';
|
|
28
45
|
import 'react-dom';
|
|
29
|
-
import
|
|
30
|
-
import '
|
|
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 { _ as _asyncToGenerator, r as regenerator } from './asyncToGenerator-4877b617.js';
|
|
38
|
-
import './Segment.js';
|
|
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';
|
|
46
|
+
import 'react-share';
|
|
47
|
+
import 'react-bootstrap';
|
|
43
48
|
import './index-c7e2ac95.js';
|
|
44
|
-
import './
|
|
49
|
+
import './util-3ab476bf.js';
|
|
50
|
+
import './Beam.js';
|
|
51
|
+
import './Segment.js';
|
|
52
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
45
53
|
import './GroupDeck.js';
|
|
46
|
-
import '
|
|
47
|
-
import './
|
|
48
|
-
import './
|
|
49
|
-
import { r as renderAuthor, g as getSerializers } from './index-d6dc592a.js';
|
|
50
|
-
import './brightcove-react-player-loader.es-83f53e4e.js';
|
|
51
|
-
import Head from 'next/head';
|
|
52
|
-
import 'react-share';
|
|
53
|
-
import SocialShare from './SocialShare.js';
|
|
54
|
-
import './_object-to-array-7e804fce.js';
|
|
54
|
+
import './smoothscroll-fa4e3f8c.js';
|
|
55
|
+
import './_is-array-3e99e06e.js';
|
|
56
|
+
import './_object-to-array-0f197f89.js';
|
|
55
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';
|
|
65
|
+
import './iconBase-602d52fe.js';
|
|
56
66
|
import 'react-bootstrap/Figure';
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import '
|
|
61
|
-
import
|
|
62
|
-
import getSeriesDetail from './getSeriesDetail.js';
|
|
63
|
-
import getQuery from './getQuery.js';
|
|
64
|
-
import getRelatedArticle from './getRelatedArticle.js';
|
|
65
|
-
import { S as SeriesSlider } from './SeriesSlider-a866bb21.js';
|
|
66
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-bd800589.js';
|
|
67
|
-
import getKeywords from './getKeywords.js';
|
|
68
|
-
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
69
|
-
import { DiscussionEmbed } from 'disqus-react';
|
|
67
|
+
import './debounce-533d9748.js';
|
|
68
|
+
import './isSymbol-a7e9aafe.js';
|
|
69
|
+
import './toNumber-5aeba6e7.js';
|
|
70
|
+
import './events-6c3a7a63.js';
|
|
71
|
+
import './index-db3bb315.js';
|
|
70
72
|
|
|
71
73
|
var getArticleSummary = function getArticleSummary(article) {
|
|
72
74
|
if (article.summary && article.summary.length > 0) {
|
|
@@ -144,17 +146,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
144
146
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
145
147
|
}
|
|
146
148
|
|
|
147
|
-
return
|
|
149
|
+
return React.createElement(
|
|
148
150
|
'a',
|
|
149
151
|
{
|
|
150
152
|
href: url,
|
|
151
153
|
className: 'doc-group',
|
|
152
154
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
153
|
-
thumbnailUrl &&
|
|
154
|
-
!thumbnailUrl &&
|
|
155
|
-
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_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
156
158
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
157
|
-
|
|
159
|
+
main_43 && !thumbnailUrl && React.createElement(
|
|
158
160
|
'style',
|
|
159
161
|
{ jsx: 'true' },
|
|
160
162
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -294,38 +296,38 @@ var ISI = function ISI(props) {
|
|
|
294
296
|
}, 300);
|
|
295
297
|
}
|
|
296
298
|
};
|
|
297
|
-
return
|
|
298
|
-
|
|
299
|
+
return React.createElement(
|
|
300
|
+
React.Fragment,
|
|
299
301
|
null,
|
|
300
|
-
|
|
302
|
+
React.createElement(
|
|
301
303
|
'div',
|
|
302
304
|
{ id: 'isi', ref: isi },
|
|
303
|
-
|
|
305
|
+
React.createElement(
|
|
304
306
|
'div',
|
|
305
307
|
{ id: 'isiContent' },
|
|
306
|
-
|
|
308
|
+
React.createElement(
|
|
307
309
|
'div',
|
|
308
310
|
{ onClick: function onClick() {
|
|
309
311
|
return setActive(function (prev) {
|
|
310
312
|
return !prev;
|
|
311
313
|
});
|
|
312
314
|
}, id: 'isiToggle' },
|
|
313
|
-
active ?
|
|
315
|
+
active ? React.createElement(
|
|
314
316
|
'p',
|
|
315
317
|
null,
|
|
316
318
|
'Close ',
|
|
317
|
-
|
|
318
|
-
) :
|
|
319
|
+
React.createElement(FaMinus, null)
|
|
320
|
+
) : React.createElement(
|
|
319
321
|
'p',
|
|
320
322
|
null,
|
|
321
323
|
'See More ',
|
|
322
|
-
|
|
324
|
+
React.createElement(FaPlus, null)
|
|
323
325
|
)
|
|
324
326
|
),
|
|
325
327
|
children
|
|
326
328
|
)
|
|
327
329
|
),
|
|
328
|
-
|
|
330
|
+
React.createElement(
|
|
329
331
|
'style',
|
|
330
332
|
{ jsx: true },
|
|
331
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 '
|
|
@@ -333,7 +335,7 @@ var ISI = function ISI(props) {
|
|
|
333
335
|
);
|
|
334
336
|
};
|
|
335
337
|
|
|
336
|
-
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";
|
|
337
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" };
|
|
338
340
|
styleInject(css);
|
|
339
341
|
|
|
@@ -347,33 +349,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
347
349
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
348
350
|
return null;
|
|
349
351
|
}
|
|
350
|
-
return
|
|
352
|
+
return React.createElement(
|
|
351
353
|
'div',
|
|
352
354
|
{ className: styles.mediaContainer },
|
|
353
355
|
articles.map(function (article, index) {
|
|
354
|
-
return
|
|
356
|
+
return React.createElement(
|
|
355
357
|
'div',
|
|
356
358
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
357
|
-
|
|
359
|
+
React.createElement(
|
|
358
360
|
'a',
|
|
359
361
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
360
|
-
article.thumbnail ?
|
|
362
|
+
article.thumbnail ? React.createElement('img', {
|
|
361
363
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
362
364
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
363
365
|
alt: article.title
|
|
364
|
-
}) :
|
|
365
|
-
|
|
366
|
+
}) : React.createElement(
|
|
367
|
+
React.Fragment,
|
|
366
368
|
null,
|
|
367
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
369
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
368
370
|
)
|
|
369
371
|
),
|
|
370
|
-
|
|
372
|
+
React.createElement(
|
|
371
373
|
'div',
|
|
372
374
|
{ className: styles.mediaBody },
|
|
373
|
-
|
|
375
|
+
React.createElement(
|
|
374
376
|
'a',
|
|
375
377
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
376
|
-
|
|
378
|
+
React.createElement(
|
|
377
379
|
'div',
|
|
378
380
|
{ className: styles.cardTitle },
|
|
379
381
|
article.title
|
|
@@ -507,7 +509,7 @@ function generateSchema(props) {
|
|
|
507
509
|
}
|
|
508
510
|
|
|
509
511
|
var Schema = function Schema(props) {
|
|
510
|
-
return
|
|
512
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
511
513
|
};
|
|
512
514
|
|
|
513
515
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -613,9 +615,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
613
615
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
614
616
|
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag,
|
|
615
617
|
_props$authorImgHeigh = props.authorImgHeight,
|
|
616
|
-
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh
|
|
617
|
-
|
|
618
|
-
containerHeight = props.containerHeight,
|
|
618
|
+
authorImgHeight = _props$authorImgHeigh === undefined ? 270 : _props$authorImgHeigh;
|
|
619
|
+
props.active;
|
|
620
|
+
var containerHeight = props.containerHeight,
|
|
619
621
|
_props$refreshFlag = props.refreshFlag,
|
|
620
622
|
refreshFlag = _props$refreshFlag === undefined ? false : _props$refreshFlag,
|
|
621
623
|
disqusConfig = props.disqusConfig,
|
|
@@ -675,9 +677,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
675
677
|
setArticleBody = _useState10[1];
|
|
676
678
|
|
|
677
679
|
var _useState11 = useState(true),
|
|
678
|
-
_useState12 = _slicedToArray(_useState11, 2)
|
|
679
|
-
|
|
680
|
-
setPreviewAd = _useState12[1];
|
|
680
|
+
_useState12 = _slicedToArray(_useState11, 2);
|
|
681
|
+
_useState12[0];
|
|
682
|
+
var setPreviewAd = _useState12[1];
|
|
681
683
|
|
|
682
684
|
useEffect(function () {
|
|
683
685
|
var path = window && window.location && window.location.search;
|
|
@@ -698,7 +700,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
698
700
|
};
|
|
699
701
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
700
702
|
if (biography) {
|
|
701
|
-
return
|
|
703
|
+
return React.createElement(BlockContent, _extends({
|
|
702
704
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
703
705
|
blocks: [biography]
|
|
704
706
|
}, client.config()));
|
|
@@ -708,9 +710,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
708
710
|
var url = article.url.current;
|
|
709
711
|
|
|
710
712
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
711
|
-
return
|
|
713
|
+
return React.createElement(ISIContent, null);
|
|
712
714
|
} else if (nationalPage === url && ISIContent) {
|
|
713
|
-
return
|
|
715
|
+
return React.createElement(ISIContent, { national: true });
|
|
714
716
|
}
|
|
715
717
|
return null;
|
|
716
718
|
};
|
|
@@ -744,19 +746,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
744
746
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
745
747
|
}
|
|
746
748
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
747
|
-
return
|
|
749
|
+
return React.createElement(
|
|
748
750
|
'div',
|
|
749
751
|
null,
|
|
750
752
|
relatedLinks.map(function (relatedLink, index) {
|
|
751
|
-
return
|
|
753
|
+
return React.createElement(
|
|
752
754
|
'span',
|
|
753
755
|
{ key: index, className: 'related-link' },
|
|
754
|
-
|
|
756
|
+
React.createElement(
|
|
755
757
|
'a',
|
|
756
758
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
757
759
|
relatedLink.label
|
|
758
760
|
),
|
|
759
|
-
|
|
761
|
+
React.createElement(
|
|
760
762
|
'style',
|
|
761
763
|
{ jsx: 'true' },
|
|
762
764
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -771,23 +773,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
771
773
|
};
|
|
772
774
|
|
|
773
775
|
var RelatedContent = function RelatedContent() {
|
|
774
|
-
return
|
|
776
|
+
return React.createElement(
|
|
775
777
|
'section',
|
|
776
778
|
{ id: 'related-content-section', className: 'my-1' },
|
|
777
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
779
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
778
780
|
'p',
|
|
779
781
|
{ className: 'mb-0' },
|
|
780
|
-
|
|
782
|
+
React.createElement(
|
|
781
783
|
'b',
|
|
782
784
|
null,
|
|
783
785
|
'Related Content:'
|
|
784
786
|
)
|
|
785
787
|
),
|
|
786
|
-
|
|
787
|
-
|
|
788
|
+
React.createElement(RelevantTopics, null),
|
|
789
|
+
React.createElement(
|
|
788
790
|
'div',
|
|
789
791
|
{ className: 'pt-2' },
|
|
790
|
-
|
|
792
|
+
React.createElement(RelatedArticle, {
|
|
791
793
|
articles: article.relatedArticle,
|
|
792
794
|
client: client,
|
|
793
795
|
fallbackImage: props.Settings.logo,
|
|
@@ -798,29 +800,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
798
800
|
};
|
|
799
801
|
|
|
800
802
|
var form = function form() {
|
|
801
|
-
return
|
|
802
|
-
|
|
803
|
+
return React.createElement(
|
|
804
|
+
React.Fragment,
|
|
803
805
|
null,
|
|
804
|
-
|
|
806
|
+
React.createElement(
|
|
805
807
|
Head,
|
|
806
808
|
null,
|
|
807
|
-
|
|
809
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
808
810
|
),
|
|
809
|
-
|
|
811
|
+
React.createElement(
|
|
810
812
|
'div',
|
|
811
813
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
812
|
-
|
|
814
|
+
React.createElement(
|
|
813
815
|
Form,
|
|
814
816
|
{
|
|
815
817
|
inline: true,
|
|
816
818
|
onSubmit: function onSubmit(e) {
|
|
817
819
|
e.preventDefault();
|
|
818
820
|
} },
|
|
819
|
-
|
|
821
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
820
822
|
return setPasswordKey(e.target.value);
|
|
821
823
|
}, placeholder: 'Password' }),
|
|
822
|
-
|
|
823
|
-
Button
|
|
824
|
+
React.createElement(
|
|
825
|
+
Button,
|
|
824
826
|
{
|
|
825
827
|
variant: 'primary',
|
|
826
828
|
onClick: function onClick() {
|
|
@@ -869,31 +871,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
869
871
|
setContextualADFlag(true);
|
|
870
872
|
}
|
|
871
873
|
};
|
|
872
|
-
return
|
|
873
|
-
|
|
874
|
+
return React.createElement(
|
|
875
|
+
React.Fragment,
|
|
874
876
|
null,
|
|
875
|
-
|
|
877
|
+
React.createElement(BlockContent, _extends({
|
|
876
878
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
877
879
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
878
880
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
879
881
|
}, client.config())),
|
|
880
|
-
|
|
881
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
882
|
-
|
|
882
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
883
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
884
|
+
React.createElement(
|
|
883
885
|
'div',
|
|
884
886
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
885
|
-
|
|
887
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
886
888
|
refreshFlag: refreshFlag
|
|
887
889
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
888
890
|
}))
|
|
889
891
|
),
|
|
890
|
-
|
|
891
|
-
|
|
892
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
893
|
+
React.createElement(
|
|
892
894
|
'div',
|
|
893
895
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
894
|
-
|
|
896
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
895
897
|
),
|
|
896
|
-
|
|
898
|
+
React.createElement(BlockContent, _extends({
|
|
897
899
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
898
900
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
899
901
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -918,26 +920,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
918
920
|
if (seriesInfo.hasVideo) {
|
|
919
921
|
_selectedIndex = seriesInfo.videoIndex;
|
|
920
922
|
}
|
|
921
|
-
return
|
|
922
|
-
|
|
923
|
+
return React.createElement(
|
|
924
|
+
React.Fragment,
|
|
923
925
|
null,
|
|
924
|
-
|
|
926
|
+
React.createElement(BlockContent, _extends({
|
|
925
927
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
926
928
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
927
929
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
928
930
|
}, client.config())),
|
|
929
|
-
contextualADFlag &&
|
|
930
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
931
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
931
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
932
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
933
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
932
934
|
'div',
|
|
933
935
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
934
|
-
|
|
936
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
935
937
|
refreshFlag: refreshFlag
|
|
936
938
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
937
939
|
}))
|
|
938
940
|
),
|
|
939
|
-
contextualADFlag &&
|
|
940
|
-
|
|
941
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
942
|
+
React.createElement(BlockContent, _extends({
|
|
941
943
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
942
944
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
943
945
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -967,22 +969,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
967
969
|
}
|
|
968
970
|
};
|
|
969
971
|
|
|
970
|
-
return
|
|
971
|
-
|
|
972
|
+
return React.createElement(
|
|
973
|
+
React.Fragment,
|
|
972
974
|
null,
|
|
973
|
-
|
|
975
|
+
React.createElement(BlockContent, _extends({
|
|
974
976
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
975
977
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
976
978
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
977
979
|
}, client.config())),
|
|
978
|
-
|
|
979
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
980
|
-
|
|
980
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
981
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
982
|
+
React.createElement(
|
|
981
983
|
'div',
|
|
982
984
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
983
|
-
|
|
985
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
984
986
|
),
|
|
985
|
-
|
|
987
|
+
React.createElement(BlockContent, _extends({
|
|
986
988
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
987
989
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
988
990
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -994,16 +996,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
994
996
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
995
997
|
}
|
|
996
998
|
|
|
997
|
-
return
|
|
999
|
+
return React.createElement(
|
|
998
1000
|
'div',
|
|
999
1001
|
null,
|
|
1000
|
-
|
|
1002
|
+
React.createElement(BlockContent, _extends({
|
|
1001
1003
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1002
1004
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1003
1005
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1004
1006
|
}, client.config())),
|
|
1005
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1006
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1007
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1008
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1007
1009
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1008
1010
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1009
1011
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1048,8 +1050,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1048
1050
|
shareSubject = shareOptions.shareSubject,
|
|
1049
1051
|
twitterSiteName = shareOptions.twitterSiteName,
|
|
1050
1052
|
shareImageDefault = shareOptions.shareImageDefault,
|
|
1051
|
-
shareBaseUrl = shareOptions.shareBaseUrl
|
|
1052
|
-
|
|
1053
|
+
shareBaseUrl = shareOptions.shareBaseUrl;
|
|
1054
|
+
shareOptions.shareSiteTitle;
|
|
1053
1055
|
|
|
1054
1056
|
var shareUrl = shareBaseUrl + props.article.url.current;
|
|
1055
1057
|
var shareTitle = article.title;
|
|
@@ -1089,10 +1091,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1089
1091
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1090
1092
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1091
1093
|
|
|
1092
|
-
return
|
|
1093
|
-
|
|
1094
|
+
return React.createElement(
|
|
1095
|
+
React.Fragment,
|
|
1094
1096
|
null,
|
|
1095
|
-
|
|
1097
|
+
React.createElement(
|
|
1096
1098
|
VisibilitySensor,
|
|
1097
1099
|
{
|
|
1098
1100
|
partialVisibility: true,
|
|
@@ -1105,61 +1107,61 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1105
1107
|
});
|
|
1106
1108
|
}
|
|
1107
1109
|
} },
|
|
1108
|
-
|
|
1110
|
+
React.createElement(
|
|
1109
1111
|
'div',
|
|
1110
1112
|
{ id: 'article__block', ref: ref },
|
|
1111
|
-
|
|
1113
|
+
React.createElement(
|
|
1112
1114
|
'div',
|
|
1113
1115
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1114
1116
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1115
|
-
!isVideoSeries &&
|
|
1117
|
+
!isVideoSeries && React.createElement(
|
|
1116
1118
|
'div',
|
|
1117
1119
|
null,
|
|
1118
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1120
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1119
1121
|
'p',
|
|
1120
1122
|
{ style: { fontSize: '14px' } },
|
|
1121
1123
|
article.documentGroup.name,
|
|
1122
1124
|
' - Episode ',
|
|
1123
1125
|
episodeNumber
|
|
1124
1126
|
),
|
|
1125
|
-
|
|
1127
|
+
React.createElement(
|
|
1126
1128
|
'h1',
|
|
1127
1129
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1128
1130
|
title
|
|
1129
1131
|
)
|
|
1130
1132
|
),
|
|
1131
|
-
|
|
1133
|
+
React.createElement(
|
|
1132
1134
|
'div',
|
|
1133
1135
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1134
|
-
|
|
1136
|
+
React.createElement(
|
|
1135
1137
|
'style',
|
|
1136
1138
|
{ jsx: 'true' },
|
|
1137
1139
|
'\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 '
|
|
1138
1140
|
),
|
|
1139
|
-
|
|
1141
|
+
React.createElement(
|
|
1140
1142
|
'div',
|
|
1141
1143
|
{ className: 'left-wrap' },
|
|
1142
|
-
!isVideoSeries && showPublished &&
|
|
1144
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1143
1145
|
'div',
|
|
1144
1146
|
null,
|
|
1145
1147
|
moment(published).format('LL')
|
|
1146
1148
|
)
|
|
1147
1149
|
/* Show Published date */
|
|
1148
1150
|
,
|
|
1149
|
-
|
|
1151
|
+
React.createElement(
|
|
1150
1152
|
'div',
|
|
1151
1153
|
{ className: 'mb-3' },
|
|
1152
1154
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1153
|
-
return
|
|
1155
|
+
return React.createElement(
|
|
1154
1156
|
'span',
|
|
1155
1157
|
{ key: index },
|
|
1156
1158
|
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 }))
|
|
1157
1159
|
);
|
|
1158
1160
|
}),
|
|
1159
|
-
|
|
1161
|
+
React.createElement(
|
|
1160
1162
|
'div',
|
|
1161
1163
|
null,
|
|
1162
|
-
source &&
|
|
1164
|
+
source && React.createElement(
|
|
1163
1165
|
'p',
|
|
1164
1166
|
{
|
|
1165
1167
|
style: {
|
|
@@ -1174,13 +1176,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1174
1176
|
source
|
|
1175
1177
|
)
|
|
1176
1178
|
),
|
|
1177
|
-
issue &&
|
|
1179
|
+
issue && React.createElement(
|
|
1178
1180
|
'div',
|
|
1179
1181
|
{ className: 'volume-issue' },
|
|
1180
|
-
issue.publication && issue.publication.name &&
|
|
1182
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1181
1183
|
'span',
|
|
1182
1184
|
{ className: 'mb-0' },
|
|
1183
|
-
|
|
1185
|
+
React.createElement(
|
|
1184
1186
|
'b',
|
|
1185
1187
|
null,
|
|
1186
1188
|
issue.publication.name
|
|
@@ -1188,34 +1190,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1188
1190
|
',',
|
|
1189
1191
|
' '
|
|
1190
1192
|
),
|
|
1191
|
-
issue.name &&
|
|
1193
|
+
issue.name && React.createElement(
|
|
1192
1194
|
'span',
|
|
1193
1195
|
{ className: 'mb-0' },
|
|
1194
1196
|
issue.name,
|
|
1195
1197
|
', '
|
|
1196
1198
|
),
|
|
1197
|
-
issue.volume &&
|
|
1199
|
+
issue.volume && React.createElement(
|
|
1198
1200
|
'span',
|
|
1199
1201
|
null,
|
|
1200
1202
|
'Volume ' + issue.volume,
|
|
1201
1203
|
','
|
|
1202
1204
|
),
|
|
1203
|
-
issue.issueNumber &&
|
|
1205
|
+
issue.issueNumber && React.createElement(
|
|
1204
1206
|
'span',
|
|
1205
1207
|
null,
|
|
1206
1208
|
' Issue ' + issue.issueNumber
|
|
1207
1209
|
)
|
|
1208
1210
|
),
|
|
1209
|
-
pageNumber &&
|
|
1211
|
+
pageNumber && React.createElement(
|
|
1210
1212
|
'div',
|
|
1211
1213
|
{ className: 'article-pageNumber' },
|
|
1212
1214
|
'Pages: ' + pageNumber
|
|
1213
1215
|
)
|
|
1214
1216
|
),
|
|
1215
|
-
!isVideoSeries && showSocialShare &&
|
|
1217
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1216
1218
|
'p',
|
|
1217
1219
|
null,
|
|
1218
|
-
|
|
1220
|
+
React.createElement(SocialShare, {
|
|
1219
1221
|
shareUrl: shareUrl,
|
|
1220
1222
|
shareTitle: shareTitle,
|
|
1221
1223
|
shareVia: shareVia,
|
|
@@ -1231,27 +1233,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1231
1233
|
})
|
|
1232
1234
|
)
|
|
1233
1235
|
),
|
|
1234
|
-
|
|
1236
|
+
React.createElement(
|
|
1235
1237
|
'div',
|
|
1236
1238
|
null,
|
|
1237
|
-
|
|
1239
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1238
1240
|
)
|
|
1239
1241
|
),
|
|
1240
|
-
!isVideoSeries && summary && display_summary &&
|
|
1242
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1241
1243
|
'p',
|
|
1242
1244
|
null,
|
|
1243
|
-
|
|
1245
|
+
React.createElement(
|
|
1244
1246
|
'em',
|
|
1245
1247
|
null,
|
|
1246
1248
|
summary
|
|
1247
1249
|
)
|
|
1248
1250
|
),
|
|
1249
|
-
|
|
1251
|
+
React.createElement(
|
|
1250
1252
|
'div',
|
|
1251
1253
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1252
|
-
|
|
1254
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1253
1255
|
if (index === 0) {
|
|
1254
|
-
return
|
|
1256
|
+
return React.createElement(
|
|
1255
1257
|
'div',
|
|
1256
1258
|
{
|
|
1257
1259
|
key: index,
|
|
@@ -1268,24 +1270,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1268
1270
|
}
|
|
1269
1271
|
})
|
|
1270
1272
|
),
|
|
1271
|
-
|
|
1273
|
+
React.createElement(
|
|
1272
1274
|
'div',
|
|
1273
1275
|
{ className: 'block-content mt-3' },
|
|
1274
1276
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1278
|
+
React.createElement(
|
|
1277
1279
|
'noscript',
|
|
1278
1280
|
null,
|
|
1279
|
-
|
|
1281
|
+
React.createElement(
|
|
1280
1282
|
'div',
|
|
1281
1283
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1282
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1284
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1283
1285
|
'a',
|
|
1284
1286
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1285
1287
|
'Previous ',
|
|
1286
1288
|
props.article.seriesDetail.type
|
|
1287
1289
|
),
|
|
1288
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1290
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1289
1291
|
'a',
|
|
1290
1292
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1291
1293
|
'Next ',
|
|
@@ -1293,26 +1295,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1293
1295
|
)
|
|
1294
1296
|
)
|
|
1295
1297
|
),
|
|
1296
|
-
issue && issue.url &&
|
|
1298
|
+
issue && issue.url && React.createElement(
|
|
1297
1299
|
'a',
|
|
1298
1300
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1299
|
-
|
|
1301
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1300
1302
|
'Download Issue : ',
|
|
1301
1303
|
issue.name
|
|
1302
1304
|
)
|
|
1303
1305
|
),
|
|
1304
|
-
|
|
1305
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1306
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1307
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1306
1308
|
'div',
|
|
1307
1309
|
null,
|
|
1308
1310
|
false ,
|
|
1309
|
-
|
|
1311
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1310
1312
|
),
|
|
1311
|
-
showRelatedArticles && !showIsi &&
|
|
1312
|
-
disqusConfig && showDisqus &&
|
|
1313
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1314
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1313
1315
|
'div',
|
|
1314
1316
|
{ id: 'disqusContainer' },
|
|
1315
|
-
|
|
1317
|
+
React.createElement(DiscussionEmbed, {
|
|
1316
1318
|
shortname: disqusConfig.shortname,
|
|
1317
1319
|
config: {
|
|
1318
1320
|
url: disqusConfig.url,
|
|
@@ -1325,30 +1327,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1325
1327
|
renderIsiContent(props.article)
|
|
1326
1328
|
)
|
|
1327
1329
|
),
|
|
1328
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1330
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1329
1331
|
ISI,
|
|
1330
1332
|
null,
|
|
1331
|
-
|
|
1333
|
+
React.createElement(BlockContent, {
|
|
1332
1334
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1333
1335
|
blocks: isi
|
|
1334
1336
|
})
|
|
1335
1337
|
),
|
|
1336
|
-
|
|
1338
|
+
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1337
1339
|
if (index > 0) {
|
|
1338
|
-
return
|
|
1340
|
+
return React.createElement(
|
|
1339
1341
|
'div',
|
|
1340
1342
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1341
1343
|
ad.component
|
|
1342
1344
|
);
|
|
1343
1345
|
}
|
|
1344
1346
|
}),
|
|
1345
|
-
|
|
1347
|
+
React.createElement(
|
|
1346
1348
|
'noscript',
|
|
1347
1349
|
null,
|
|
1348
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1350
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1349
1351
|
'div',
|
|
1350
1352
|
{ style: { textAlign: 'center' } },
|
|
1351
|
-
|
|
1353
|
+
React.createElement(
|
|
1352
1354
|
'a',
|
|
1353
1355
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1354
1356
|
'Related Article ',
|
|
@@ -1356,8 +1358,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1356
1358
|
)
|
|
1357
1359
|
)
|
|
1358
1360
|
),
|
|
1359
|
-
props.infiniteScroll &&
|
|
1360
|
-
|
|
1361
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1362
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1361
1363
|
);
|
|
1362
1364
|
};
|
|
1363
1365
|
|
|
@@ -1372,7 +1374,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1372
1374
|
}
|
|
1373
1375
|
});
|
|
1374
1376
|
|
|
1375
|
-
var _this = undefined;
|
|
1377
|
+
var _this$1 = undefined;
|
|
1376
1378
|
|
|
1377
1379
|
var ArticleQueue = function ArticleQueue(props) {
|
|
1378
1380
|
var router = useRouter();
|
|
@@ -1381,9 +1383,9 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1381
1383
|
prevUrl = _props$prevUrl === undefined ? '/' : _props$prevUrl,
|
|
1382
1384
|
Ads = props.Ads,
|
|
1383
1385
|
_props$maxListLength = props.maxListLength,
|
|
1384
|
-
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength
|
|
1385
|
-
|
|
1386
|
-
_props$cpModification = props.cpModificationRequired,
|
|
1386
|
+
maxListLength = _props$maxListLength === undefined ? 10 : _props$maxListLength;
|
|
1387
|
+
props.sponsoredTaxonomies;
|
|
1388
|
+
var _props$cpModification = props.cpModificationRequired,
|
|
1387
1389
|
cpModificationRequired = _props$cpModification === undefined ? false : _props$cpModification,
|
|
1388
1390
|
_props$authorPrefix = props.authorPrefix,
|
|
1389
1391
|
authorPrefix = _props$authorPrefix === undefined ? 'authors' : _props$authorPrefix,
|
|
@@ -1432,7 +1434,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1432
1434
|
return item.url.current === path;
|
|
1433
1435
|
});
|
|
1434
1436
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1435
|
-
if (!
|
|
1437
|
+
if (!main_43) {
|
|
1436
1438
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1437
1439
|
if (window.googletag && googletag.pubadsReady) {
|
|
1438
1440
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1449,7 +1451,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1449
1451
|
});
|
|
1450
1452
|
}
|
|
1451
1453
|
//Refresh leaderboard ad on mobile
|
|
1452
|
-
if (
|
|
1454
|
+
if (main_43) {
|
|
1453
1455
|
var leaderboardSlotId = '';
|
|
1454
1456
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1455
1457
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1553,7 +1555,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1553
1555
|
return _context.stop();
|
|
1554
1556
|
}
|
|
1555
1557
|
}
|
|
1556
|
-
}, _callee, _this, [[3, 9], [15, 21]]);
|
|
1558
|
+
}, _callee, _this$1, [[3, 9], [15, 21]]);
|
|
1557
1559
|
}));
|
|
1558
1560
|
|
|
1559
1561
|
return function loadmore() {
|
|
@@ -1631,14 +1633,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1631
1633
|
refreshAD(path);
|
|
1632
1634
|
};
|
|
1633
1635
|
|
|
1634
|
-
return
|
|
1636
|
+
return React.createElement(
|
|
1635
1637
|
InfiniteScroll,
|
|
1636
1638
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1637
1639
|
queueData.map(function (article, index) {
|
|
1638
|
-
return
|
|
1639
|
-
|
|
1640
|
+
return React.createElement(
|
|
1641
|
+
React.Fragment,
|
|
1640
1642
|
null,
|
|
1641
|
-
|
|
1643
|
+
React.createElement(Article, _extends({
|
|
1642
1644
|
key: index
|
|
1643
1645
|
}, props, {
|
|
1644
1646
|
containerHeight: containerHeight,
|
|
@@ -1656,7 +1658,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1656
1658
|
);
|
|
1657
1659
|
};
|
|
1658
1660
|
|
|
1659
|
-
var _this
|
|
1661
|
+
var _this = undefined;
|
|
1660
1662
|
|
|
1661
1663
|
var View = function View(props) {
|
|
1662
1664
|
var router = useRouter();
|
|
@@ -1666,9 +1668,9 @@ var View = function View(props) {
|
|
|
1666
1668
|
hideComments = _props$article.hideComments,
|
|
1667
1669
|
content_placement = _props$article.content_placement,
|
|
1668
1670
|
_props$sponsoredFlag = props.sponsoredFlag,
|
|
1669
|
-
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag
|
|
1670
|
-
|
|
1671
|
-
Ads = props.Ads,
|
|
1671
|
+
sponsoredFlag = _props$sponsoredFlag === undefined ? false : _props$sponsoredFlag;
|
|
1672
|
+
props.sponsoredTaxonomies;
|
|
1673
|
+
var Ads = props.Ads,
|
|
1672
1674
|
setCustomDimensions = props.setCustomDimensions,
|
|
1673
1675
|
statusCode = props.statusCode,
|
|
1674
1676
|
prevUrl = props.prevUrl,
|
|
@@ -1681,9 +1683,9 @@ var View = function View(props) {
|
|
|
1681
1683
|
infiniteScrollFlag = _props$infiniteScroll === undefined ? true : _props$infiniteScroll;
|
|
1682
1684
|
var _props$article2 = props.article,
|
|
1683
1685
|
_props$article2$passw = _props$article2.passwordLock,
|
|
1684
|
-
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw
|
|
1685
|
-
|
|
1686
|
-
title = _props$article2.title,
|
|
1686
|
+
passwordLock = _props$article2$passw === undefined ? false : _props$article2$passw;
|
|
1687
|
+
_props$article2.description;
|
|
1688
|
+
var title = _props$article2.title,
|
|
1687
1689
|
seriesShareOptions = _props$article2.seriesShareOptions;
|
|
1688
1690
|
|
|
1689
1691
|
var _useState = useState(0),
|
|
@@ -1744,7 +1746,6 @@ var View = function View(props) {
|
|
|
1744
1746
|
var needInfiniteScroll = ['Articles', 'Videos', 'Podcasts'].includes(article.category.name) && article.taxonomyMapping && article.passwordLock !== true && !isVideoSeries && !isArticleSeries && !article.ExcludeFromInfiniteScroll && !sponsoredFlag && infiniteScrollFlag && !article.showIsi && (!article.documentGroup || !article.documentGroup.isSeries) && !showDisqus;
|
|
1745
1747
|
|
|
1746
1748
|
if (['Articles', 'Videos', 'Podcasts'].includes(article.category.name)) {
|
|
1747
|
-
description = null;
|
|
1748
1749
|
title = null;
|
|
1749
1750
|
}
|
|
1750
1751
|
|
|
@@ -1788,63 +1789,63 @@ var View = function View(props) {
|
|
|
1788
1789
|
|
|
1789
1790
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1790
1791
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1791
|
-
return
|
|
1792
|
-
|
|
1792
|
+
return React.createElement(
|
|
1793
|
+
React.Fragment,
|
|
1793
1794
|
null,
|
|
1794
|
-
|
|
1795
|
+
React.createElement(
|
|
1795
1796
|
Head,
|
|
1796
1797
|
null,
|
|
1797
|
-
|
|
1798
|
+
React.createElement(
|
|
1798
1799
|
'title',
|
|
1799
1800
|
{ key: 'title' },
|
|
1800
1801
|
metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article && article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + article.title + (currentPage > 0 ? ' | Page ' + currentPage : '')
|
|
1801
1802
|
),
|
|
1802
|
-
metaDescriptionSanity ?
|
|
1803
|
-
|
|
1804
|
-
passwordLock &&
|
|
1805
|
-
|
|
1803
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1804
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1805
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1806
|
+
React.createElement('meta', {
|
|
1806
1807
|
property: 'og:url',
|
|
1807
1808
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1808
1809
|
key: 'og:url'
|
|
1809
1810
|
}),
|
|
1810
|
-
|
|
1811
|
+
React.createElement('meta', {
|
|
1811
1812
|
property: 'og:title',
|
|
1812
1813
|
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1813
1814
|
key: 'og:title'
|
|
1814
1815
|
}),
|
|
1815
|
-
|
|
1816
|
+
React.createElement('meta', {
|
|
1816
1817
|
property: 'og:image',
|
|
1817
1818
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1818
1819
|
key: 'og:image'
|
|
1819
1820
|
}),
|
|
1820
|
-
|
|
1821
|
-
metaDescriptionSanity ?
|
|
1822
|
-
|
|
1823
|
-
|
|
1821
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1822
|
+
metaDescriptionSanity ? React.createElement('meta', { property: 'og:description', key: 'og:description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { property: 'og:description', key: 'og:description', content: meta_description }),
|
|
1823
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1824
|
+
React.createElement('meta', {
|
|
1824
1825
|
name: 'twitter:title',
|
|
1825
1826
|
content: metaTitleSanity ? '' + metaTitleSanity + (currentPage > 0 ? ' | Page ' + currentPage : '') : seriesShareOptions && seriesShareOptions.seriesTitle ? '' + seriesShareOptions.seriesTitle + (currentPage > 0 ? ' | Page ' + currentPage : '') : article.seo && article.seo.seo_title ? '' + article.seo.seo_title + (currentPage > 0 ? ' | Page ' + currentPage : '') : '' + shareOptions.shareTitle + (currentPage > 0 ? ' | Page ' + currentPage : ''),
|
|
1826
1827
|
key: 'twitter:title'
|
|
1827
1828
|
}),
|
|
1828
|
-
|
|
1829
|
+
React.createElement('meta', {
|
|
1829
1830
|
name: 'twitter:image',
|
|
1830
1831
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1831
1832
|
key: 'twitter:image'
|
|
1832
1833
|
}),
|
|
1833
|
-
|
|
1834
|
-
metaDescriptionSanity ?
|
|
1835
|
-
canonicalTag &&
|
|
1834
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1835
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'twitter:description', key: 'twitter:description', content: meta_description }),
|
|
1836
|
+
canonicalTag && React.createElement('link', {
|
|
1836
1837
|
rel: 'canonical',
|
|
1837
1838
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1838
1839
|
key: 'canonical'
|
|
1839
1840
|
}),
|
|
1840
|
-
|
|
1841
|
+
React.createElement(
|
|
1841
1842
|
'noscript',
|
|
1842
1843
|
null,
|
|
1843
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1844
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1844
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1845
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1845
1846
|
)
|
|
1846
1847
|
),
|
|
1847
|
-
!needInfiniteScroll ?
|
|
1848
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1848
1849
|
infiniteScroll: true,
|
|
1849
1850
|
showRelatedArticles: showRelatedArticles,
|
|
1850
1851
|
canonicalTag: canonicalTag,
|
|
@@ -1981,7 +1982,7 @@ View.returnGetInitialProps = function () {
|
|
|
1981
1982
|
return _context.stop();
|
|
1982
1983
|
}
|
|
1983
1984
|
}
|
|
1984
|
-
}, _callee, _this
|
|
1985
|
+
}, _callee, _this);
|
|
1985
1986
|
}));
|
|
1986
1987
|
|
|
1987
1988
|
return function (_x, _x2, _x3, _x4, _x5) {
|