@mjhls/mjh-framework 1.0.877-v1pageviewfix → 1.0.878
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/cjs/AD300x250.js +1 -1
- package/dist/cjs/AD300x250x600.js +1 -1
- package/dist/cjs/AD728x90.js +1 -1
- package/dist/cjs/ADFloatingFooter.js +1 -1
- package/dist/cjs/ADGutter.js +1 -1
- package/dist/cjs/ADSkyscraper.js +1 -1
- package/dist/cjs/ADSponsoredResources.js +1 -1
- package/dist/cjs/ADWebcast.js +1 -1
- package/dist/cjs/ADWelcome.js +1 -1
- package/dist/cjs/AccordionPanel.js +2 -2
- package/dist/cjs/AdSlot.js +1 -1
- package/dist/cjs/AdSlotsProvider.js +1 -1
- package/dist/cjs/AlgoliaSearch.js +68 -134
- package/dist/cjs/ArticleCarousel.js +2 -2
- package/dist/cjs/ArticleProgramLandingPage.js +8 -8
- package/dist/cjs/ArticleSeriesLandingPage.js +4 -4
- package/dist/cjs/ArticleSeriesListing.js +4 -4
- package/dist/cjs/Auth.js +3 -3
- package/dist/cjs/AuthWrapper.js +293 -1469
- package/dist/cjs/{BlockContent-9ebd251f.js → BlockContent-36e54d77.js} +1 -1
- package/dist/cjs/CMEDeck.js +1 -1
- package/dist/cjs/Column3.js +1 -1
- package/dist/cjs/ConferenceArticleCard.js +1 -1
- package/dist/cjs/DeckContent.js +4 -4
- package/dist/cjs/DeckQueue.js +3 -3
- package/dist/cjs/EventsDeck.js +9 -3
- package/dist/cjs/ExternalResources.js +8 -8
- package/dist/cjs/Feature.js +2 -2
- package/dist/cjs/ForbesHero.js +1 -1
- package/dist/cjs/GridContent.js +5 -5
- package/dist/cjs/GridHero.js +2 -2
- package/dist/cjs/GroupDeck.js +1 -1
- package/dist/cjs/HamMagazine.js +6 -6
- package/dist/cjs/Hero.js +2 -2
- package/dist/cjs/HorizontalArticleListing.js +8 -8
- package/dist/cjs/HorizontalHero.js +3 -3
- package/dist/cjs/IssueContentDeck.js +1 -1
- package/dist/cjs/IssueDeck.js +1 -1
- package/dist/cjs/IssueLanding.js +10 -10
- package/dist/cjs/LeftNav.js +1 -1
- package/dist/cjs/MasterDeck.js +4 -4
- package/dist/cjs/MediaSeriesLanding.js +24 -128
- package/dist/cjs/NavMagazine.js +6 -6
- package/dist/cjs/NavNative.js +3 -3
- package/dist/cjs/OncliveHero.js +2 -2
- package/dist/cjs/OncliveLargeHero.js +2 -2
- package/dist/cjs/PartnerDetailListing.js +17 -2643
- package/dist/cjs/PdfDownload.js +2 -2
- package/dist/cjs/PubSection.js +5 -5
- package/dist/cjs/PublicationDeck.js +1 -1
- package/dist/cjs/PublicationLanding.js +0 -4
- package/dist/cjs/QueueDeckExpanded.js +5 -5
- package/dist/cjs/RecentNews.js +2 -2
- package/dist/cjs/RelatedContent.js +1 -1
- package/dist/cjs/SeriesListingDeck.js +3 -3
- package/dist/cjs/{SeriesSlider-ba0c5d1a.js → SeriesSlider-ce3261cb.js} +1 -1
- package/dist/cjs/{SocialSearchComponent-4942ddfc.js → SocialSearchComponent-5ec44406.js} +3 -3
- package/dist/cjs/TaxonomyCard.js +2 -2
- package/dist/cjs/TaxonomyDescription.js +8 -8
- package/dist/cjs/TemplateNormal.js +6 -6
- package/dist/cjs/ThumbnailCard.js +2 -2
- package/dist/cjs/Ustream.js +4 -4
- package/dist/cjs/VerticalHero.js +1 -1
- package/dist/cjs/VideoProgramLandingPage.js +8 -8
- package/dist/cjs/VideoSeriesCard.js +1 -1
- package/dist/cjs/VideoSeriesLandingPage.js +4 -4
- package/dist/cjs/VideoSeriesListing.js +4 -4
- package/dist/cjs/View.js +19 -23
- package/dist/cjs/YahooHero.js +2 -2
- package/dist/cjs/YoutubeGroup.js +2 -2
- package/dist/cjs/{entities-df1aed86.js → entities-3f9d0f2f.js} +0 -4
- package/dist/cjs/getRelatedArticle.js +2 -2
- package/dist/cjs/getSerializers.js +8 -8
- package/dist/{esm/iconBase-ccc56b97.js → cjs/iconBase-68959171.js} +5 -2
- package/dist/cjs/{index-50be6759.js → index-8041a4eb.js} +9 -15
- package/dist/cjs/{index-602af93b.js → index-e2ec2eae.js} +5 -5
- package/dist/cjs/{index-d48b231c.js → index-efca863c.js} +5 -5
- package/dist/cjs/{index.esm-f27f80d9.js → index.esm-05850a2f.js} +1 -1
- package/dist/cjs/{index.esm-c1e16606.js → index.esm-44f3e2d0.js} +1 -1
- package/dist/cjs/{index.esm-2bb721c8.js → index.esm-8123cf40.js} +1 -1
- package/dist/cjs/{index.esm-00a6aade.js → index.esm-974f47d9.js} +1 -1
- package/dist/cjs/index.js +17 -18
- package/dist/cjs/{main-f1c77adb.js → main-025fdc78.js} +3 -3
- package/dist/cjs/urlFor.js +1 -1
- package/dist/cjs/{util-93a37fd0.js → util-6f784d85.js} +0 -11
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +13 -13
- package/dist/esm/AD300x250x600.js +13 -13
- package/dist/esm/AD728x90.js +14 -14
- package/dist/esm/ADFloatingFooter.js +16 -16
- package/dist/esm/ADFooter.js +9 -9
- package/dist/esm/ADGutter.js +16 -16
- package/dist/esm/{ADInfeed-19675d06.js → ADInfeed-014c7bd1.js} +6 -6
- package/dist/esm/ADSkyscraper.js +16 -16
- package/dist/esm/ADSponsoredResources.js +16 -16
- package/dist/esm/ADWebcast.js +16 -16
- package/dist/esm/ADWelcome.js +20 -20
- package/dist/esm/{ADlgInfeed-970ed008.js → ADlgInfeed-75e097f4.js} +5 -5
- package/dist/esm/AccordionPanel.js +21 -21
- package/dist/esm/AdSlot.js +12 -12
- package/dist/esm/AdSlotsProvider.js +9 -9
- package/dist/esm/AlgoliaSearch.js +288 -354
- package/dist/esm/AlphabeticList.js +19 -19
- package/dist/esm/ArticleCarousel.js +11 -11
- package/dist/esm/ArticleProgramLandingPage.js +34 -34
- package/dist/esm/ArticleSeriesLandingPage.js +26 -26
- package/dist/esm/ArticleSeriesListing.js +41 -41
- package/dist/esm/Auth.js +81 -81
- package/dist/esm/AuthWrapper.js +312 -1488
- package/dist/esm/{AuthorComponent-11adff02.js → AuthorComponent-46a745ba.js} +11 -11
- package/dist/esm/Beam.js +5 -5
- package/dist/esm/{BlockContent-1e73bd2c.js → BlockContent-52cf21c5.js} +4 -4
- package/dist/esm/Breadcrumbs.js +14 -14
- package/dist/esm/CMEDeck.js +68 -68
- package/dist/esm/Column1.js +5 -5
- package/dist/esm/Column2.js +18 -18
- package/dist/esm/Column3.js +32 -32
- package/dist/esm/ConferenceArticleCard.js +17 -17
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +64 -64
- package/dist/esm/DeckQueue.js +55 -55
- package/dist/esm/{Dfp-102f0beb.js → Dfp-4ca12f2e.js} +13 -13
- package/dist/esm/EventsDeck.js +82 -76
- package/dist/esm/ExternalResources.js +52 -52
- package/dist/esm/Feature.js +19 -19
- package/dist/esm/ForbesHero.js +30 -30
- package/dist/esm/GridContent.js +139 -139
- package/dist/esm/GridHero.js +32 -32
- package/dist/esm/GroupDeck.js +40 -40
- package/dist/esm/HamMagazine.js +91 -91
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +11 -11
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +48 -48
- package/dist/esm/HorizontalHero.js +24 -24
- package/dist/esm/IssueContentDeck.js +43 -43
- package/dist/esm/IssueDeck.js +40 -40
- package/dist/esm/IssueLanding.js +39 -39
- package/dist/esm/LeftNav.js +23 -23
- package/dist/esm/MasterDeck.js +52 -52
- package/dist/esm/MediaSeriesLanding.js +355 -459
- package/dist/esm/NavDvm.js +48 -48
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +94 -94
- package/dist/esm/NavNative.js +82 -82
- package/dist/esm/OncliveHero.js +17 -17
- package/dist/esm/OncliveLargeHero.js +55 -55
- package/dist/esm/PageFilter.js +9 -9
- package/dist/esm/PartnerDetailListing.js +88 -2713
- package/dist/esm/PdfDownload.js +7 -7
- package/dist/esm/PopUpModal.js +11 -11
- package/dist/esm/PubSection.js +24 -24
- package/dist/esm/PubToc.js +10 -10
- package/dist/esm/PublicationDeck.js +37 -37
- package/dist/esm/PublicationLanding.js +57 -61
- package/dist/esm/QueueDeckExpanded.js +256 -256
- package/dist/esm/RecentNews.js +18 -18
- package/dist/esm/RelatedContent.js +19 -19
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +13 -13
- package/dist/esm/Search.js +8 -8
- package/dist/esm/Segment.js +4 -4
- package/dist/esm/SeriesListingDeck.js +26 -26
- package/dist/esm/{SeriesSlider-45adb8dc.js → SeriesSlider-7a6c45ce.js} +20 -20
- package/dist/esm/SideFooter.js +25 -25
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-8e0fcf66.js → SocialSearchComponent-bdecba55.js} +23 -23
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +40 -40
- package/dist/esm/TaxonomyDescription.js +30 -30
- package/dist/esm/TemplateNormal.js +38 -38
- package/dist/esm/ThumbnailCard.js +14 -14
- package/dist/esm/Ustream.js +24 -24
- package/dist/esm/VerticalHero.js +15 -15
- package/dist/esm/VideoProgramLandingPage.js +41 -41
- package/dist/esm/VideoSeriesCard.js +20 -20
- package/dist/esm/VideoSeriesFilter.js +11 -11
- package/dist/esm/VideoSeriesLandingPage.js +26 -26
- package/dist/esm/VideoSeriesListing.js +57 -57
- package/dist/esm/View.js +199 -203
- package/dist/esm/YahooHero.js +28 -28
- package/dist/esm/YoutubeGroup.js +38 -38
- package/dist/esm/{_is-array-8d21b9e3.js → _is-array-893ab020.js} +1 -1
- package/dist/esm/{_iter-detect-98db3b07.js → _iter-detect-f089461c.js} +1 -1
- package/dist/esm/{_object-sap-7cee6f84.js → _object-sap-169d6272.js} +1 -1
- package/dist/esm/{_object-to-array-2300e51b.js → _object-to-array-50a6b9a3.js} +1 -1
- package/dist/esm/{asyncToGenerator-5ef104a7.js → asyncToGenerator-b4dfe691.js} +3 -3
- package/dist/esm/{brightcove-react-player-loader.es-57a70a56.js → brightcove-react-player-loader.es-b43c695a.js} +3 -3
- package/dist/esm/{core.get-iterator-method-ea258bb1.js → core.get-iterator-method-e903ff31.js} +1 -1
- package/dist/esm/{define-property-5f1bda73.js → define-property-99e66838.js} +1 -1
- package/dist/esm/{defineProperty-8c30428f.js → defineProperty-8fa0bc8d.js} +1 -1
- package/dist/esm/{entities-6d9154b4.js → entities-932b50cf.js} +0 -4
- package/dist/esm/{extends-6d8e3924.js → extends-dc6a71fd.js} +1 -1
- package/dist/esm/faundadb.js +4 -4
- package/dist/esm/getRelatedArticle.js +7 -7
- package/dist/esm/getRootDocGroup.js +4 -4
- package/dist/esm/getSerializers.js +25 -25
- package/dist/esm/{getTargeting-4061f839.js → getTargeting-ff2c9409.js} +2 -2
- package/dist/esm/getTargeting.js +5 -5
- package/dist/{cjs/iconBase-be4097c0.js → esm/iconBase-602d52fe.js} +8 -33
- package/dist/esm/{index-3f5c03b2.js → index-0dbff1d1.js} +5 -5
- package/dist/esm/{index-f0fc23eb.js → index-2446af28.js} +3 -3
- package/dist/esm/{index-755f2cc2.js → index-35bdcc81.js} +4 -4
- package/dist/esm/{index-98ca9cec.js → index-67e1773f.js} +9 -15
- package/dist/esm/{index-51694988.js → index-f2783f14.js} +428 -428
- package/dist/esm/{index.es-a6137319.js → index.es-c6222053.js} +5 -5
- package/dist/esm/{index.esm-f6156a57.js → index.esm-3fdda599.js} +1 -1
- package/dist/esm/{index.esm-37268dca.js → index.esm-8016b507.js} +16 -16
- package/dist/esm/{index.esm-d4932dea.js → index.esm-a8ff922c.js} +1 -1
- package/dist/esm/{index.esm-9b042655.js → index.esm-c6715e80.js} +1 -1
- package/dist/esm/index.js +59 -60
- package/dist/esm/{inherits-a6ba2ec4.js → inherits-8a801a18.js} +4 -4
- package/dist/esm/{keys-31dcdb31.js → keys-425c8ab0.js} +2 -2
- package/dist/esm/{main-1894c974.js → main-4136096f.js} +19 -19
- package/dist/esm/{react-social-icons-9be47857.js → react-social-icons-91f9716f.js} +5 -5
- package/dist/esm/{slicedToArray-6ebcbfea.js → slicedToArray-ca2c8b8d.js} +2 -2
- package/dist/esm/{stringify-2b084bee.js → stringify-c21932b3.js} +1 -1
- package/dist/esm/{toConsumableArray-f7074d7c.js → toConsumableArray-7b1c0e23.js} +2 -2
- package/dist/esm/{typeof-e9fc0c5d.js → typeof-83d9eb10.js} +3 -3
- package/dist/esm/urlFor.js +4 -4
- package/dist/esm/{ustream-api-d3714624.js → ustream-api-41166338.js} +4 -4
- package/dist/esm/{util-8ed16d48.js → util-3ab476bf.js} +0 -11
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/dist/esm/{web.dom.iterable-ab4dea5c.js → web.dom.iterable-fdf034f5.js} +1 -1
- package/package.json +1 -1
- package/dist/cjs/defineProperty-e0fb52c5.js +0 -73
- package/dist/cjs/typeof-1358762e.js +0 -33
- package/dist/esm/defineProperty-23a8f8cd.js +0 -68
- package/dist/esm/typeof-2f07d0e8.js +0 -30
- /package/dist/cjs/{ADInfeed-b6b7b0ec.js → ADInfeed-f7e6956b.js} +0 -0
- /package/dist/cjs/{ADlgInfeed-8e290400.js → ADlgInfeed-4df6d147.js} +0 -0
package/dist/esm/View.js
CHANGED
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-
|
|
2
|
-
import { _ as _extends, a as _Object$assign } from './extends-
|
|
3
|
-
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-
|
|
4
|
-
import
|
|
1
|
+
import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-b4dfe691.js';
|
|
2
|
+
import { _ as _extends, a as _Object$assign } from './extends-dc6a71fd.js';
|
|
3
|
+
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-ca2c8b8d.js';
|
|
4
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
5
5
|
import Head from 'next/head';
|
|
6
6
|
import { useRouter } from 'next/router';
|
|
7
|
-
import { _ as _JSON$stringify } from './stringify-
|
|
8
|
-
import { _ as _toConsumableArray } from './toConsumableArray-
|
|
7
|
+
import { _ as _JSON$stringify } from './stringify-c21932b3.js';
|
|
8
|
+
import { _ as _toConsumableArray } from './toConsumableArray-7b1c0e23.js';
|
|
9
9
|
import { m as moment } from './moment-bc12cb97.js';
|
|
10
|
-
import { B as BlockContent } from './BlockContent-
|
|
11
|
-
import { m as main_43 } from './main-
|
|
10
|
+
import { B as BlockContent } from './BlockContent-52cf21c5.js';
|
|
11
|
+
import { m as main_43 } from './main-4136096f.js';
|
|
12
12
|
import 'react-bootstrap/Dropdown';
|
|
13
13
|
import Form from 'react-bootstrap/Form';
|
|
14
14
|
import FormControl from 'react-bootstrap/FormControl';
|
|
15
15
|
import Button from 'react-bootstrap/Button';
|
|
16
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
16
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
17
17
|
import SocialShare from './SocialShare.js';
|
|
18
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
18
|
+
import { r as renderAuthor, g as getSerializers } from './index-f2783f14.js';
|
|
19
19
|
import DFPAdSlot from './AdSlot.js';
|
|
20
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
21
|
-
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-
|
|
20
|
+
import { S as SeriesSlider } from './SeriesSlider-7a6c45ce.js';
|
|
21
|
+
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-ff2c9409.js';
|
|
22
22
|
import getKeywords from './getKeywords.js';
|
|
23
23
|
import urlFor from './urlFor.js';
|
|
24
|
-
import { _ as _typeof } from './typeof-
|
|
25
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-
|
|
24
|
+
import { _ as _typeof } from './typeof-83d9eb10.js';
|
|
25
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
26
26
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
27
|
-
import './index-
|
|
27
|
+
import './index-35bdcc81.js';
|
|
28
28
|
import { DiscussionEmbed } from 'disqus-react';
|
|
29
|
-
import { _ as _Object$keys } from './keys-
|
|
30
|
-
import { I as InfiniteScroll } from './index.es-
|
|
31
|
-
import { l as lib_3 } from './index-
|
|
29
|
+
import { _ as _Object$keys } from './keys-425c8ab0.js';
|
|
30
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
31
|
+
import { l as lib_3 } from './index-2446af28.js';
|
|
32
32
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
33
33
|
import getQuery from './getQuery.js';
|
|
34
34
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
35
35
|
import './_commonjsHelpers-0c4b6f40.js';
|
|
36
|
-
import './core.get-iterator-method-
|
|
37
|
-
import './web.dom.iterable-
|
|
36
|
+
import './core.get-iterator-method-e903ff31.js';
|
|
37
|
+
import './web.dom.iterable-fdf034f5.js';
|
|
38
38
|
import './_library-528f1934.js';
|
|
39
|
-
import './_iter-detect-
|
|
39
|
+
import './_iter-detect-f089461c.js';
|
|
40
40
|
import './_object-pie-133f504a.js';
|
|
41
41
|
import 'prop-types';
|
|
42
|
-
import './index-
|
|
42
|
+
import './index-0dbff1d1.js';
|
|
43
43
|
import 'react-dom';
|
|
44
44
|
import 'react-share';
|
|
45
45
|
import 'react-bootstrap';
|
|
46
46
|
import './index-c7e2ac95.js';
|
|
47
|
-
import './util-
|
|
47
|
+
import './util-3ab476bf.js';
|
|
48
48
|
import './Beam.js';
|
|
49
49
|
import './Segment.js';
|
|
50
|
-
import './brightcove-react-player-loader.es-
|
|
50
|
+
import './brightcove-react-player-loader.es-b43c695a.js';
|
|
51
51
|
import './GroupDeck.js';
|
|
52
52
|
import './smoothscroll-fa4e3f8c.js';
|
|
53
|
-
import './_is-array-
|
|
54
|
-
import './_object-to-array-
|
|
53
|
+
import './_is-array-893ab020.js';
|
|
54
|
+
import './_object-to-array-50a6b9a3.js';
|
|
55
55
|
import 'react-bootstrap/Pagination';
|
|
56
|
-
import './entities-
|
|
56
|
+
import './entities-932b50cf.js';
|
|
57
57
|
import 'react-bootstrap/Row';
|
|
58
58
|
import 'react-bootstrap/Col';
|
|
59
|
-
import './inherits-
|
|
60
|
-
import './_object-sap-
|
|
61
|
-
import './define-property-
|
|
62
|
-
import './index.esm-
|
|
63
|
-
import './iconBase-
|
|
59
|
+
import './inherits-8a801a18.js';
|
|
60
|
+
import './_object-sap-169d6272.js';
|
|
61
|
+
import './define-property-99e66838.js';
|
|
62
|
+
import './index.esm-3fdda599.js';
|
|
63
|
+
import './iconBase-602d52fe.js';
|
|
64
64
|
import 'react-bootstrap/Figure';
|
|
65
65
|
import 'react-bootstrap/OverlayTrigger';
|
|
66
66
|
import 'react-bootstrap/Tooltip';
|
|
@@ -147,17 +147,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
147
147
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
148
148
|
}
|
|
149
149
|
|
|
150
|
-
return
|
|
150
|
+
return React.createElement(
|
|
151
151
|
'a',
|
|
152
152
|
{
|
|
153
153
|
href: url,
|
|
154
154
|
className: 'doc-group',
|
|
155
155
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
156
|
-
thumbnailUrl &&
|
|
157
|
-
!thumbnailUrl &&
|
|
156
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
157
|
+
!thumbnailUrl && React.createElement('p', {
|
|
158
158
|
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_43 ? 'left' : 'right', marginTop: '.25rem' },
|
|
159
159
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
160
|
-
main_43 && !thumbnailUrl &&
|
|
160
|
+
main_43 && !thumbnailUrl && React.createElement(
|
|
161
161
|
'style',
|
|
162
162
|
{ jsx: 'true' },
|
|
163
163
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -297,38 +297,38 @@ var ISI = function ISI(props) {
|
|
|
297
297
|
}, 300);
|
|
298
298
|
}
|
|
299
299
|
};
|
|
300
|
-
return
|
|
301
|
-
|
|
300
|
+
return React.createElement(
|
|
301
|
+
React.Fragment,
|
|
302
302
|
null,
|
|
303
|
-
|
|
303
|
+
React.createElement(
|
|
304
304
|
'div',
|
|
305
305
|
{ id: 'isi', ref: isi },
|
|
306
|
-
|
|
306
|
+
React.createElement(
|
|
307
307
|
'div',
|
|
308
308
|
{ id: 'isiContent' },
|
|
309
|
-
|
|
309
|
+
React.createElement(
|
|
310
310
|
'div',
|
|
311
311
|
{ onClick: function onClick() {
|
|
312
312
|
return setActive(function (prev) {
|
|
313
313
|
return !prev;
|
|
314
314
|
});
|
|
315
315
|
}, id: 'isiToggle' },
|
|
316
|
-
active ?
|
|
316
|
+
active ? React.createElement(
|
|
317
317
|
'p',
|
|
318
318
|
null,
|
|
319
319
|
'Close ',
|
|
320
|
-
|
|
321
|
-
) :
|
|
320
|
+
React.createElement(FaMinus, null)
|
|
321
|
+
) : React.createElement(
|
|
322
322
|
'p',
|
|
323
323
|
null,
|
|
324
324
|
'See More ',
|
|
325
|
-
|
|
325
|
+
React.createElement(FaPlus, null)
|
|
326
326
|
)
|
|
327
327
|
),
|
|
328
328
|
children
|
|
329
329
|
)
|
|
330
330
|
),
|
|
331
|
-
|
|
331
|
+
React.createElement(
|
|
332
332
|
'style',
|
|
333
333
|
{ jsx: true },
|
|
334
334
|
'\n #isi {\n position: fixed;\n z-index: 9999999;\n bottom: 0;\n left: 0;\n max-height: 12rem;\n background-color: #ffffff;\n overflow-x: hidden;\n overflow-y: hidden;\n width: 100%;\n box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);\n transition: bottom .5s ease , margin-top .3s, max-height .2s;\n }\n #isiContent {\n width: 100%;\n max-width: 1000px;\n margin-left: auto;\n margin-right: auto;\n position: relative;\n padding: 1rem;\n font-size: 1rem;\n }\n #isi::-webkit-scrollbar {\n display: none;\n }\n #isiToggle {\n position: absolute;\n top: 0;\n right: 0;\n padding: 1rem;\n font-weight: bold;\n cursor: pointer;\n font-size: 1rem;\n }\n #isiToggle p {\n margin: 0;\n }\n '
|
|
@@ -350,34 +350,34 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
350
350
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
351
351
|
return null;
|
|
352
352
|
}
|
|
353
|
-
return
|
|
353
|
+
return React.createElement(
|
|
354
354
|
'div',
|
|
355
355
|
{ className: styles.mediaContainer },
|
|
356
356
|
articles.map(function (article, index) {
|
|
357
357
|
if (article && article.url && article.url.current) {
|
|
358
|
-
return
|
|
358
|
+
return React.createElement(
|
|
359
359
|
'div',
|
|
360
360
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
361
|
-
|
|
361
|
+
React.createElement(
|
|
362
362
|
'a',
|
|
363
363
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
364
|
-
article.thumbnail ?
|
|
364
|
+
article.thumbnail ? React.createElement('img', {
|
|
365
365
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
366
366
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
367
367
|
alt: article.title
|
|
368
|
-
}) :
|
|
369
|
-
|
|
368
|
+
}) : React.createElement(
|
|
369
|
+
React.Fragment,
|
|
370
370
|
null,
|
|
371
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
371
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
372
372
|
)
|
|
373
373
|
),
|
|
374
|
-
|
|
374
|
+
React.createElement(
|
|
375
375
|
'div',
|
|
376
376
|
{ className: styles.mediaBody },
|
|
377
|
-
|
|
377
|
+
React.createElement(
|
|
378
378
|
'a',
|
|
379
379
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
380
|
-
|
|
380
|
+
React.createElement(
|
|
381
381
|
'div',
|
|
382
382
|
{ className: styles.cardTitle },
|
|
383
383
|
article.title
|
|
@@ -513,7 +513,7 @@ function generateSchema(props) {
|
|
|
513
513
|
}
|
|
514
514
|
|
|
515
515
|
var Schema = function Schema(props) {
|
|
516
|
-
return
|
|
516
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
517
517
|
};
|
|
518
518
|
|
|
519
519
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -706,7 +706,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
706
706
|
};
|
|
707
707
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
708
708
|
if (biography) {
|
|
709
|
-
return
|
|
709
|
+
return React.createElement(BlockContent, _extends({
|
|
710
710
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
711
711
|
blocks: [biography]
|
|
712
712
|
}, client.config()));
|
|
@@ -716,9 +716,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
716
716
|
var url = article.url.current;
|
|
717
717
|
|
|
718
718
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
719
|
-
return
|
|
719
|
+
return React.createElement(ISIContent, null);
|
|
720
720
|
} else if (nationalPage === url && ISIContent) {
|
|
721
|
-
return
|
|
721
|
+
return React.createElement(ISIContent, { national: true });
|
|
722
722
|
}
|
|
723
723
|
return null;
|
|
724
724
|
};
|
|
@@ -752,20 +752,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
752
752
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
753
753
|
}
|
|
754
754
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
755
|
-
return
|
|
755
|
+
return React.createElement(
|
|
756
756
|
'div',
|
|
757
757
|
null,
|
|
758
758
|
relatedLinks.map(function (relatedLink, index) {
|
|
759
759
|
if (relatedLink && relatedLink.href && relatedLink.label) {
|
|
760
|
-
return
|
|
760
|
+
return React.createElement(
|
|
761
761
|
'span',
|
|
762
762
|
{ key: index, className: 'related-link' },
|
|
763
|
-
|
|
763
|
+
React.createElement(
|
|
764
764
|
'a',
|
|
765
765
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
766
766
|
relatedLink.label
|
|
767
767
|
),
|
|
768
|
-
|
|
768
|
+
React.createElement(
|
|
769
769
|
'style',
|
|
770
770
|
{ jsx: 'true' },
|
|
771
771
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -781,23 +781,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
781
781
|
};
|
|
782
782
|
|
|
783
783
|
var RelatedContent = function RelatedContent() {
|
|
784
|
-
return
|
|
784
|
+
return React.createElement(
|
|
785
785
|
'section',
|
|
786
786
|
{ id: 'related-content-section', className: 'my-1' },
|
|
787
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
787
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
788
788
|
'p',
|
|
789
789
|
{ className: 'mb-0' },
|
|
790
|
-
|
|
790
|
+
React.createElement(
|
|
791
791
|
'b',
|
|
792
792
|
null,
|
|
793
793
|
'Related Content:'
|
|
794
794
|
)
|
|
795
795
|
),
|
|
796
|
-
|
|
797
|
-
|
|
796
|
+
React.createElement(RelevantTopics, null),
|
|
797
|
+
React.createElement(
|
|
798
798
|
'div',
|
|
799
799
|
{ className: 'pt-2' },
|
|
800
|
-
|
|
800
|
+
React.createElement(RelatedArticle, {
|
|
801
801
|
articles: article.relatedArticle,
|
|
802
802
|
client: client,
|
|
803
803
|
fallbackImage: props.Settings.logo,
|
|
@@ -808,28 +808,28 @@ var Article = forwardRef(function (props, ref) {
|
|
|
808
808
|
};
|
|
809
809
|
|
|
810
810
|
var form = function form() {
|
|
811
|
-
return
|
|
812
|
-
|
|
811
|
+
return React.createElement(
|
|
812
|
+
React.Fragment,
|
|
813
813
|
null,
|
|
814
|
-
|
|
814
|
+
React.createElement(
|
|
815
815
|
Head,
|
|
816
816
|
null,
|
|
817
|
-
|
|
817
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
818
818
|
),
|
|
819
|
-
|
|
819
|
+
React.createElement(
|
|
820
820
|
'div',
|
|
821
821
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
822
|
-
|
|
822
|
+
React.createElement(
|
|
823
823
|
Form,
|
|
824
824
|
{
|
|
825
825
|
inline: true,
|
|
826
826
|
onSubmit: function onSubmit(e) {
|
|
827
827
|
e.preventDefault();
|
|
828
828
|
} },
|
|
829
|
-
|
|
829
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
830
830
|
return setPasswordKey(e.target.value);
|
|
831
831
|
}, placeholder: 'Password' }),
|
|
832
|
-
|
|
832
|
+
React.createElement(
|
|
833
833
|
Button,
|
|
834
834
|
{
|
|
835
835
|
variant: 'primary',
|
|
@@ -879,31 +879,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
879
879
|
setContextualADFlag(true);
|
|
880
880
|
}
|
|
881
881
|
};
|
|
882
|
-
return
|
|
883
|
-
|
|
882
|
+
return React.createElement(
|
|
883
|
+
React.Fragment,
|
|
884
884
|
null,
|
|
885
|
-
|
|
885
|
+
React.createElement(BlockContent, _extends({
|
|
886
886
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
887
887
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
888
888
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
889
889
|
}, client.config())),
|
|
890
|
-
|
|
891
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
892
|
-
|
|
890
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
891
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
892
|
+
React.createElement(
|
|
893
893
|
'div',
|
|
894
894
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
895
|
-
|
|
895
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
896
896
|
refreshFlag: refreshFlag
|
|
897
897
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
898
898
|
}))
|
|
899
899
|
),
|
|
900
|
-
|
|
901
|
-
|
|
900
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
901
|
+
React.createElement(
|
|
902
902
|
'div',
|
|
903
903
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
904
|
-
|
|
904
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
905
905
|
),
|
|
906
|
-
|
|
906
|
+
React.createElement(BlockContent, _extends({
|
|
907
907
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
908
908
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
909
909
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -928,26 +928,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
928
928
|
if (seriesInfo.hasVideo) {
|
|
929
929
|
_selectedIndex = seriesInfo.videoIndex;
|
|
930
930
|
}
|
|
931
|
-
return
|
|
932
|
-
|
|
931
|
+
return React.createElement(
|
|
932
|
+
React.Fragment,
|
|
933
933
|
null,
|
|
934
|
-
|
|
934
|
+
React.createElement(BlockContent, _extends({
|
|
935
935
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
936
936
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
937
937
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
938
938
|
}, client.config())),
|
|
939
|
-
contextualADFlag &&
|
|
940
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
941
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
939
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
940
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
941
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
942
942
|
'div',
|
|
943
943
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
944
|
-
|
|
944
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
945
945
|
refreshFlag: refreshFlag
|
|
946
946
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
947
947
|
}))
|
|
948
948
|
),
|
|
949
|
-
contextualADFlag &&
|
|
950
|
-
|
|
949
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
950
|
+
React.createElement(BlockContent, _extends({
|
|
951
951
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
952
952
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
953
953
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -977,22 +977,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
979
|
|
|
980
|
-
return
|
|
981
|
-
|
|
980
|
+
return React.createElement(
|
|
981
|
+
React.Fragment,
|
|
982
982
|
null,
|
|
983
|
-
|
|
983
|
+
React.createElement(BlockContent, _extends({
|
|
984
984
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
985
985
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
986
986
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
987
987
|
}, client.config())),
|
|
988
|
-
|
|
989
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
990
|
-
|
|
988
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
989
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
990
|
+
React.createElement(
|
|
991
991
|
'div',
|
|
992
992
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
993
|
-
|
|
993
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
994
994
|
),
|
|
995
|
-
|
|
995
|
+
React.createElement(BlockContent, _extends({
|
|
996
996
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
997
997
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
998
998
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1004,16 +1004,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1004
1004
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1005
1005
|
}
|
|
1006
1006
|
|
|
1007
|
-
return
|
|
1007
|
+
return React.createElement(
|
|
1008
1008
|
'div',
|
|
1009
1009
|
null,
|
|
1010
|
-
|
|
1010
|
+
React.createElement(BlockContent, _extends({
|
|
1011
1011
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1012
1012
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1013
1013
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1014
1014
|
}, client.config())),
|
|
1015
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1016
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1015
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1016
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1017
1017
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1018
1018
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1019
1019
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1099,10 +1099,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1099
1099
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1100
1100
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1101
1101
|
|
|
1102
|
-
return
|
|
1103
|
-
|
|
1102
|
+
return React.createElement(
|
|
1103
|
+
React.Fragment,
|
|
1104
1104
|
null,
|
|
1105
|
-
|
|
1105
|
+
React.createElement(
|
|
1106
1106
|
VisibilitySensor,
|
|
1107
1107
|
{
|
|
1108
1108
|
partialVisibility: true,
|
|
@@ -1118,44 +1118,44 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1118
1118
|
});
|
|
1119
1119
|
}
|
|
1120
1120
|
} },
|
|
1121
|
-
|
|
1121
|
+
React.createElement(
|
|
1122
1122
|
'div',
|
|
1123
1123
|
{ id: 'article__block', ref: ref },
|
|
1124
|
-
|
|
1124
|
+
React.createElement(
|
|
1125
1125
|
'div',
|
|
1126
1126
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1127
1127
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1128
|
-
!isVideoSeries &&
|
|
1128
|
+
!isVideoSeries && React.createElement(
|
|
1129
1129
|
'div',
|
|
1130
1130
|
null,
|
|
1131
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1131
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1132
1132
|
'p',
|
|
1133
1133
|
{ style: { fontSize: '14px' } },
|
|
1134
1134
|
article.documentGroup.name,
|
|
1135
1135
|
' - Episode ',
|
|
1136
1136
|
episodeNumber
|
|
1137
1137
|
),
|
|
1138
|
-
|
|
1138
|
+
React.createElement(
|
|
1139
1139
|
'h1',
|
|
1140
1140
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1141
1141
|
title
|
|
1142
1142
|
)
|
|
1143
1143
|
),
|
|
1144
|
-
|
|
1144
|
+
React.createElement(
|
|
1145
1145
|
'div',
|
|
1146
1146
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1147
|
-
|
|
1147
|
+
React.createElement(
|
|
1148
1148
|
'style',
|
|
1149
1149
|
{ jsx: 'true' },
|
|
1150
1150
|
'\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 '
|
|
1151
1151
|
),
|
|
1152
|
-
|
|
1152
|
+
React.createElement(
|
|
1153
1153
|
'div',
|
|
1154
1154
|
{ className: 'left-wrap' },
|
|
1155
|
-
!isVideoSeries && showPublished &&
|
|
1155
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1156
1156
|
'div',
|
|
1157
1157
|
null,
|
|
1158
|
-
|
|
1158
|
+
React.createElement(
|
|
1159
1159
|
'time',
|
|
1160
1160
|
{
|
|
1161
1161
|
className: 'meta-date',
|
|
@@ -1165,20 +1165,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1165
1165
|
)
|
|
1166
1166
|
/* Show Published date */
|
|
1167
1167
|
,
|
|
1168
|
-
|
|
1168
|
+
React.createElement(
|
|
1169
1169
|
'div',
|
|
1170
1170
|
{ className: 'mb-3' },
|
|
1171
1171
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1172
|
-
return
|
|
1172
|
+
return React.createElement(
|
|
1173
1173
|
'span',
|
|
1174
1174
|
{ key: index },
|
|
1175
1175
|
renderAuthor(authorDetail.displayName, authorDetail.url, index, authorDetails.length, authorPrefix, authorDetail.biography && renderAuthorBiography(authorDetail.biography[0]), authorDetail.profileImage && urlFor({ client: props.client, source: authorDetail.profileImage, imageHeight: authorImgHeight }), showAuthorDetails)
|
|
1176
1176
|
);
|
|
1177
1177
|
}),
|
|
1178
|
-
|
|
1178
|
+
React.createElement(
|
|
1179
1179
|
'div',
|
|
1180
1180
|
null,
|
|
1181
|
-
source &&
|
|
1181
|
+
source && React.createElement(
|
|
1182
1182
|
'p',
|
|
1183
1183
|
{
|
|
1184
1184
|
style: {
|
|
@@ -1193,13 +1193,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1193
1193
|
source
|
|
1194
1194
|
)
|
|
1195
1195
|
),
|
|
1196
|
-
issue &&
|
|
1196
|
+
issue && React.createElement(
|
|
1197
1197
|
'div',
|
|
1198
1198
|
{ className: 'volume-issue' },
|
|
1199
|
-
issue.publication && issue.publication.name &&
|
|
1199
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1200
1200
|
'span',
|
|
1201
1201
|
{ className: 'mb-0' },
|
|
1202
|
-
|
|
1202
|
+
React.createElement(
|
|
1203
1203
|
'b',
|
|
1204
1204
|
null,
|
|
1205
1205
|
issue.publication.name
|
|
@@ -1207,34 +1207,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1207
1207
|
',',
|
|
1208
1208
|
' '
|
|
1209
1209
|
),
|
|
1210
|
-
issue.name &&
|
|
1210
|
+
issue.name && React.createElement(
|
|
1211
1211
|
'span',
|
|
1212
1212
|
{ className: 'mb-0' },
|
|
1213
1213
|
issue.name,
|
|
1214
1214
|
', '
|
|
1215
1215
|
),
|
|
1216
|
-
issue.volume &&
|
|
1216
|
+
issue.volume && React.createElement(
|
|
1217
1217
|
'span',
|
|
1218
1218
|
null,
|
|
1219
1219
|
'Volume ' + issue.volume,
|
|
1220
1220
|
','
|
|
1221
1221
|
),
|
|
1222
|
-
issue.issueNumber &&
|
|
1222
|
+
issue.issueNumber && React.createElement(
|
|
1223
1223
|
'span',
|
|
1224
1224
|
null,
|
|
1225
1225
|
' Issue ' + issue.issueNumber
|
|
1226
1226
|
)
|
|
1227
1227
|
),
|
|
1228
|
-
pageNumber &&
|
|
1228
|
+
pageNumber && React.createElement(
|
|
1229
1229
|
'div',
|
|
1230
1230
|
{ className: 'article-pageNumber' },
|
|
1231
1231
|
'Pages: ' + pageNumber
|
|
1232
1232
|
)
|
|
1233
1233
|
),
|
|
1234
|
-
!isVideoSeries && showSocialShare &&
|
|
1234
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1235
1235
|
'p',
|
|
1236
1236
|
null,
|
|
1237
|
-
|
|
1237
|
+
React.createElement(SocialShare, {
|
|
1238
1238
|
shareUrl: shareUrl,
|
|
1239
1239
|
shareTitle: shareTitle,
|
|
1240
1240
|
shareVia: shareVia,
|
|
@@ -1250,27 +1250,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1250
1250
|
})
|
|
1251
1251
|
)
|
|
1252
1252
|
),
|
|
1253
|
-
|
|
1253
|
+
React.createElement(
|
|
1254
1254
|
'div',
|
|
1255
1255
|
null,
|
|
1256
|
-
|
|
1256
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1257
1257
|
)
|
|
1258
1258
|
),
|
|
1259
|
-
!isVideoSeries && summary && display_summary &&
|
|
1259
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1260
1260
|
'p',
|
|
1261
1261
|
null,
|
|
1262
|
-
|
|
1262
|
+
React.createElement(
|
|
1263
1263
|
'em',
|
|
1264
1264
|
null,
|
|
1265
1265
|
summary
|
|
1266
1266
|
)
|
|
1267
1267
|
),
|
|
1268
|
-
|
|
1268
|
+
React.createElement(
|
|
1269
1269
|
'div',
|
|
1270
1270
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1271
1271
|
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1272
1272
|
if (index === 0) {
|
|
1273
|
-
return
|
|
1273
|
+
return React.createElement(
|
|
1274
1274
|
'div',
|
|
1275
1275
|
{
|
|
1276
1276
|
key: index,
|
|
@@ -1287,24 +1287,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
})
|
|
1289
1289
|
),
|
|
1290
|
-
|
|
1290
|
+
React.createElement(
|
|
1291
1291
|
'div',
|
|
1292
1292
|
{ className: 'block-content mt-3' },
|
|
1293
1293
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1294
|
-
|
|
1295
|
-
|
|
1294
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1295
|
+
React.createElement(
|
|
1296
1296
|
'noscript',
|
|
1297
1297
|
null,
|
|
1298
|
-
|
|
1298
|
+
React.createElement(
|
|
1299
1299
|
'div',
|
|
1300
1300
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1301
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1301
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1302
1302
|
'a',
|
|
1303
1303
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1304
1304
|
'Previous ',
|
|
1305
1305
|
props.article.seriesDetail.type
|
|
1306
1306
|
),
|
|
1307
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1307
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1308
1308
|
'a',
|
|
1309
1309
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1310
1310
|
'Next ',
|
|
@@ -1312,26 +1312,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1312
1312
|
)
|
|
1313
1313
|
)
|
|
1314
1314
|
),
|
|
1315
|
-
issue && issue.url &&
|
|
1315
|
+
issue && issue.url && React.createElement(
|
|
1316
1316
|
'a',
|
|
1317
1317
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1318
|
-
|
|
1318
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1319
1319
|
'Download Issue : ',
|
|
1320
1320
|
issue.name
|
|
1321
1321
|
)
|
|
1322
1322
|
),
|
|
1323
|
-
|
|
1324
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1323
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1324
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1325
1325
|
'div',
|
|
1326
1326
|
null,
|
|
1327
1327
|
false ,
|
|
1328
|
-
|
|
1328
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1329
1329
|
),
|
|
1330
|
-
showRelatedArticles && !showIsi &&
|
|
1331
|
-
disqusConfig && showDisqus &&
|
|
1330
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1331
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1332
1332
|
'div',
|
|
1333
1333
|
{ id: 'disqusContainer' },
|
|
1334
|
-
|
|
1334
|
+
React.createElement(DiscussionEmbed, {
|
|
1335
1335
|
shortname: disqusConfig.shortname,
|
|
1336
1336
|
config: {
|
|
1337
1337
|
url: disqusConfig.url,
|
|
@@ -1344,30 +1344,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1344
1344
|
renderIsiContent(props.article)
|
|
1345
1345
|
)
|
|
1346
1346
|
),
|
|
1347
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1347
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1348
1348
|
ISI,
|
|
1349
1349
|
null,
|
|
1350
|
-
|
|
1350
|
+
React.createElement(BlockContent, {
|
|
1351
1351
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1352
1352
|
blocks: isi
|
|
1353
1353
|
})
|
|
1354
1354
|
),
|
|
1355
1355
|
main_43 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1356
1356
|
if (index > 0) {
|
|
1357
|
-
return
|
|
1357
|
+
return React.createElement(
|
|
1358
1358
|
'div',
|
|
1359
1359
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1360
1360
|
ad.component
|
|
1361
1361
|
);
|
|
1362
1362
|
}
|
|
1363
1363
|
}),
|
|
1364
|
-
|
|
1364
|
+
React.createElement(
|
|
1365
1365
|
'noscript',
|
|
1366
1366
|
null,
|
|
1367
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1367
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1368
1368
|
'div',
|
|
1369
1369
|
{ style: { textAlign: 'center' } },
|
|
1370
|
-
|
|
1370
|
+
React.createElement(
|
|
1371
1371
|
'a',
|
|
1372
1372
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1373
1373
|
'Related Article ',
|
|
@@ -1375,8 +1375,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1375
1375
|
)
|
|
1376
1376
|
)
|
|
1377
1377
|
),
|
|
1378
|
-
props.infiniteScroll &&
|
|
1379
|
-
|
|
1378
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1379
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1380
1380
|
);
|
|
1381
1381
|
};
|
|
1382
1382
|
|
|
@@ -1650,14 +1650,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1650
1650
|
refreshAD(path);
|
|
1651
1651
|
};
|
|
1652
1652
|
|
|
1653
|
-
return
|
|
1653
|
+
return React.createElement(
|
|
1654
1654
|
InfiniteScroll,
|
|
1655
1655
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1656
1656
|
queueData.map(function (article, index) {
|
|
1657
|
-
return
|
|
1658
|
-
|
|
1657
|
+
return React.createElement(
|
|
1658
|
+
React.Fragment,
|
|
1659
1659
|
{ key: index },
|
|
1660
|
-
|
|
1660
|
+
React.createElement(Article, _extends({}, props, {
|
|
1661
1661
|
containerHeight: containerHeight,
|
|
1662
1662
|
onChangeArticle: onChangeArticle,
|
|
1663
1663
|
authorPrfix: authorPrefix,
|
|
@@ -1688,9 +1688,9 @@ var View = function View(props) {
|
|
|
1688
1688
|
var Ads = props.Ads,
|
|
1689
1689
|
setCustomDimensions = props.setCustomDimensions,
|
|
1690
1690
|
statusCode = props.statusCode,
|
|
1691
|
-
prevUrl = props.prevUrl
|
|
1692
|
-
props.pageview
|
|
1693
|
-
|
|
1691
|
+
prevUrl = props.prevUrl,
|
|
1692
|
+
pageview = props.pageview,
|
|
1693
|
+
_props$showRelatedArt = props.showRelatedArticles,
|
|
1694
1694
|
showRelatedArticles = _props$showRelatedArt === undefined ? false : _props$showRelatedArt,
|
|
1695
1695
|
_props$canonicalTag = props.canonicalTag,
|
|
1696
1696
|
canonicalTag = _props$canonicalTag === undefined ? true : _props$canonicalTag,
|
|
@@ -1711,19 +1711,15 @@ var View = function View(props) {
|
|
|
1711
1711
|
|
|
1712
1712
|
|
|
1713
1713
|
useEffect(function () {
|
|
1714
|
-
if (setCustomDimensions) {
|
|
1714
|
+
if (pageview && setCustomDimensions) {
|
|
1715
1715
|
var timer = void 0;
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
// }
|
|
1716
|
+
var pageviewProperties = _extends({}, getTargeting(props), {
|
|
1717
|
+
category: article && article.category ? article.category.name : ''
|
|
1718
|
+
});
|
|
1720
1719
|
var waitAndExicute = function waitAndExicute() {
|
|
1721
|
-
if (typeof window.
|
|
1722
|
-
setCustomDimensions(article, statusCode, prevUrl);
|
|
1723
|
-
// pageview(router.asPath, null, pageviewProperties)
|
|
1724
|
-
} else if (typeof window.GA_INITIALIZED !== 'undefined') {
|
|
1720
|
+
if (typeof window.GA_INITIALIZED !== 'undefined') {
|
|
1725
1721
|
setCustomDimensions(article, statusCode, prevUrl);
|
|
1726
|
-
|
|
1722
|
+
pageview(router.asPath, null, pageviewProperties);
|
|
1727
1723
|
} else timer = setTimeout(waitAndExicute, 1000);
|
|
1728
1724
|
};
|
|
1729
1725
|
waitAndExicute();
|
|
@@ -1803,63 +1799,63 @@ var View = function View(props) {
|
|
|
1803
1799
|
|
|
1804
1800
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1805
1801
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1806
|
-
return
|
|
1807
|
-
|
|
1802
|
+
return React.createElement(
|
|
1803
|
+
React.Fragment,
|
|
1808
1804
|
null,
|
|
1809
|
-
|
|
1805
|
+
React.createElement(
|
|
1810
1806
|
Head,
|
|
1811
1807
|
null,
|
|
1812
|
-
|
|
1808
|
+
React.createElement(
|
|
1813
1809
|
'title',
|
|
1814
1810
|
{ key: 'title' },
|
|
1815
1811
|
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 : '')
|
|
1816
1812
|
),
|
|
1817
|
-
metaDescriptionSanity ?
|
|
1818
|
-
|
|
1819
|
-
passwordLock &&
|
|
1820
|
-
|
|
1813
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1814
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1815
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1816
|
+
React.createElement('meta', {
|
|
1821
1817
|
property: 'og:url',
|
|
1822
1818
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1823
1819
|
key: 'og:url'
|
|
1824
1820
|
}),
|
|
1825
|
-
|
|
1821
|
+
React.createElement('meta', {
|
|
1826
1822
|
property: 'og:title',
|
|
1827
1823
|
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 : ''),
|
|
1828
1824
|
key: 'og:title'
|
|
1829
1825
|
}),
|
|
1830
|
-
|
|
1826
|
+
React.createElement('meta', {
|
|
1831
1827
|
property: 'og:image',
|
|
1832
1828
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1833
1829
|
key: 'og:image'
|
|
1834
1830
|
}),
|
|
1835
|
-
|
|
1836
|
-
metaDescriptionSanity ?
|
|
1837
|
-
|
|
1838
|
-
|
|
1831
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1832
|
+
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 }),
|
|
1833
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1834
|
+
React.createElement('meta', {
|
|
1839
1835
|
name: 'twitter:title',
|
|
1840
1836
|
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 : ''),
|
|
1841
1837
|
key: 'twitter:title'
|
|
1842
1838
|
}),
|
|
1843
|
-
|
|
1839
|
+
React.createElement('meta', {
|
|
1844
1840
|
name: 'twitter:image',
|
|
1845
1841
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1846
1842
|
key: 'twitter:image'
|
|
1847
1843
|
}),
|
|
1848
|
-
|
|
1849
|
-
metaDescriptionSanity ?
|
|
1850
|
-
canonicalTag &&
|
|
1844
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1845
|
+
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 }),
|
|
1846
|
+
canonicalTag && React.createElement('link', {
|
|
1851
1847
|
rel: 'canonical',
|
|
1852
1848
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1853
1849
|
key: 'canonical'
|
|
1854
1850
|
}),
|
|
1855
|
-
|
|
1851
|
+
React.createElement(
|
|
1856
1852
|
'noscript',
|
|
1857
1853
|
null,
|
|
1858
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1859
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1854
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1855
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1860
1856
|
)
|
|
1861
1857
|
),
|
|
1862
|
-
!needInfiniteScroll ?
|
|
1858
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1863
1859
|
infiniteScroll: true,
|
|
1864
1860
|
showRelatedArticles: showRelatedArticles,
|
|
1865
1861
|
canonicalTag: canonicalTag,
|