@mjhls/mjh-framework 1.0.862-beta.0 → 1.0.863-author-details-v1
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/AD.js +10 -9
- package/dist/cjs/AD300x250.js +10 -9
- package/dist/cjs/AD300x250x600.js +10 -9
- package/dist/cjs/AD728x90.js +11 -10
- package/dist/cjs/ADFloatingFooter.js +12 -11
- package/dist/cjs/ADFooter.js +9 -8
- package/dist/cjs/ADGutter.js +12 -11
- package/dist/cjs/{ADInfeed-98c71bcd.js → ADInfeed-25d48cc2.js} +11 -9
- package/dist/cjs/ADSkyscraper.js +12 -11
- package/dist/cjs/ADSponsoredResources.js +12 -11
- package/dist/cjs/ADWebcast.js +12 -11
- package/dist/cjs/ADWelcome.js +16 -15
- package/dist/cjs/{ADlgInfeed-9de32585.js → ADlgInfeed-a535a768.js} +7 -6
- package/dist/cjs/AccordionPanel.js +24 -22
- package/dist/cjs/AdSlot.js +14 -13
- package/dist/cjs/AdSlotsProvider.js +11 -902
- package/dist/cjs/AlgoliaSearch.js +952 -842
- package/dist/cjs/AlphabeticList.js +16 -15
- package/dist/cjs/ArticleCarousel.js +11 -10
- package/dist/cjs/ArticleProgramLandingPage.js +28 -27
- package/dist/cjs/ArticleSeriesLandingPage.js +23 -22
- package/dist/cjs/ArticleSeriesListing.js +40 -39
- package/dist/cjs/Auth.js +237 -1197
- package/dist/cjs/AuthWrapper.js +124 -46
- package/dist/cjs/{AuthorComponent-bb831b74.js → AuthorComponent-ac8972ce.js} +13 -12
- package/dist/cjs/{BlockContent-091a991f.js → BlockContent-8b494587.js} +25 -24
- package/dist/cjs/Breadcrumbs.js +23 -21
- package/dist/cjs/CMEDeck.js +64 -64
- package/dist/cjs/Column1.js +14 -11
- package/dist/cjs/Column2.js +22 -19
- package/dist/cjs/Column3.js +35 -32
- package/dist/cjs/ConferenceArticleCard.js +18 -17
- package/dist/cjs/ConferenceBanner-6c9e718a.js +24 -0
- package/dist/cjs/DeckContent.js +76 -72
- package/dist/cjs/DeckQueue.js +72 -68
- package/dist/cjs/{Dfp-26baccf1.js → Dfp-391fd124.js} +23 -22
- package/dist/cjs/EventsDeck.js +123 -116
- package/dist/cjs/ExternalResources.js +47 -46
- package/dist/cjs/Feature.js +25 -23
- package/dist/cjs/ForbesHero.js +35 -34
- package/dist/cjs/GridContent.js +208 -203
- package/dist/cjs/GridHero.js +36 -35
- package/dist/cjs/GroupDeck.js +49 -48
- package/dist/cjs/HamMagazine.js +121 -116
- package/dist/cjs/Header.js +14 -12
- package/dist/cjs/Hero.js +10 -9
- package/dist/cjs/HighlightenVideo.js +17 -16
- package/dist/cjs/HorizontalArticleListing.js +37 -36
- package/dist/cjs/HorizontalHero.js +24 -23
- package/dist/cjs/IssueContentDeck.js +70 -65
- package/dist/cjs/IssueDeck.js +65 -60
- package/dist/cjs/IssueLanding.js +29 -28
- package/dist/cjs/LeftNav.js +22 -20
- package/dist/cjs/MasterDeck.js +50 -49
- package/dist/cjs/MediaSeriesLanding.js +733 -786
- package/dist/cjs/NavDvm.js +68 -63
- package/dist/cjs/{NavFooter-76c913e3.js → NavFooter-3dcd99a8.js} +15 -14
- package/dist/cjs/NavMagazine.js +121 -116
- package/dist/cjs/NavNative.js +116 -108
- package/dist/cjs/OncliveHero.js +17 -17
- package/dist/cjs/OncliveLargeHero.js +64 -63
- package/dist/cjs/PageFilter.js +9 -8
- package/dist/cjs/PartnerDetailListing.js +133 -1229
- package/dist/cjs/PdfDownload.js +9 -8
- package/dist/cjs/PopUpModal.js +15 -13
- package/dist/cjs/PubSection.js +20 -19
- package/dist/cjs/PubToc.js +8 -7
- package/dist/cjs/PublicationDeck.js +64 -59
- package/dist/cjs/PublicationLanding.js +87 -83
- package/dist/cjs/QueueDeckExpanded.js +285 -285
- package/dist/cjs/RecentNews.js +20 -19
- package/dist/cjs/RelatedContent.js +23 -22
- package/dist/cjs/RelatedTopicsDropdown.js +22 -19
- package/dist/cjs/RolesDeck.js +32 -27
- package/dist/cjs/Search.js +16 -12
- package/dist/cjs/SeriesListingDeck.js +26 -26
- package/dist/cjs/{SeriesSlider-8bbc989f.js → SeriesSlider-0d3bf265.js} +34 -33
- package/dist/cjs/SideFooter.js +24 -23
- package/dist/cjs/SocialIcons.js +10 -9
- package/dist/cjs/{SocialSearchComponent-cea213aa.js → SocialSearchComponent-19548e2a.js} +38 -34
- package/dist/cjs/SocialShare.js +31 -29
- package/dist/cjs/TaxonomyCard.js +59 -54
- package/dist/cjs/TaxonomyDescription.js +22 -21
- package/dist/cjs/TemplateNormal.js +35 -34
- package/dist/cjs/ThumbnailCard.js +19 -17
- package/dist/cjs/Ustream.js +22 -21
- package/dist/cjs/VerticalHero.js +16 -15
- package/dist/cjs/VideoProgramLandingPage.js +47 -43
- package/dist/cjs/VideoSeriesCard.js +23 -22
- package/dist/cjs/VideoSeriesFilter.js +9 -9
- package/dist/cjs/VideoSeriesLandingPage.js +28 -27
- package/dist/cjs/VideoSeriesListing.js +57 -56
- package/dist/cjs/View.js +207 -201
- package/dist/cjs/YahooHero.js +31 -30
- package/dist/cjs/YoutubeGroup.js +51 -50
- package/dist/cjs/{brightcove-react-player-loader.es-156bd4d6.js → brightcove-react-player-loader.es-5c98aec7.js} +10 -8
- package/dist/cjs/faundadb.js +16 -16
- package/dist/cjs/getRelatedArticle.js +67 -131
- package/dist/cjs/getRootDocGroup.js +3 -3
- package/dist/cjs/getSerializers.js +11 -11
- package/dist/cjs/{getTargeting-f1821260.js → getTargeting-a9a871f0.js} +2 -2
- package/dist/cjs/getTargeting.js +1 -1
- package/dist/cjs/iconBase-68959171.js +0 -3
- package/dist/cjs/{index-a1e54356.js → index-04a5a4a2.js} +961 -934
- package/dist/cjs/{index-98e01cb9.js → index-2cf30c83.js} +9 -8
- package/dist/cjs/{index-3294d3bc.js → index-6367b7bf.js} +16 -17
- package/dist/cjs/{index-96b3db50.js → index-9d365128.js} +12 -10
- package/dist/cjs/{index-be0c82be.js → index-b5eb3ff8.js} +20 -19
- 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-4d410430.js → index.esm-3ffa049c.js} +20 -20
- package/dist/cjs/{index.esm-e32d3e8e.js → index.esm-44f3e2d0.js} +3 -6
- package/dist/cjs/{index.esm-90433435.js → index.esm-974f47d9.js} +6 -15
- package/dist/cjs/index.js +63 -58
- package/dist/cjs/{inherits-1f5a1c72.js → inherits-0c7830c5.js} +3 -3
- package/dist/cjs/{lodash-fc2922d0.js → lodash-7fd85bcf.js} +71 -22
- package/dist/cjs/{main-02daeefe.js → main-7b5e57b0.js} +90 -54
- package/dist/cjs/{md5-5039b1a6.js → md5-e1ca5797.js} +1 -1
- package/dist/cjs/{moment-575fe24c.js → moment-ca3bd9fb.js} +10 -8
- package/dist/cjs/{react-social-icons-f7f48f71.js → react-social-icons-07939b41.js} +12 -11
- package/dist/cjs/timeDifferenceCalc.js +1 -1
- package/dist/cjs/{typeof-725500bc.js → typeof-9d7f610f.js} +1 -1
- package/dist/cjs/urlFor.js +3 -3
- package/dist/cjs/{visibility-sensor-ad5e3116.js → visibility-sensor-eb2c5b69.js} +7 -5
- package/dist/esm/AD.js +7 -7
- package/dist/esm/AD300x250.js +7 -7
- package/dist/esm/AD300x250x600.js +7 -7
- package/dist/esm/AD728x90.js +8 -8
- package/dist/esm/ADFloatingFooter.js +9 -9
- package/dist/esm/ADFooter.js +6 -6
- package/dist/esm/ADGutter.js +9 -9
- package/dist/esm/{ADInfeed-1cc9d817.js → ADInfeed-56a3db8b.js} +7 -7
- package/dist/esm/ADSkyscraper.js +9 -9
- package/dist/esm/ADSponsoredResources.js +9 -9
- package/dist/esm/ADWebcast.js +9 -9
- package/dist/esm/ADWelcome.js +13 -13
- package/dist/esm/{ADlgInfeed-8c4f129e.js → ADlgInfeed-53edb995.js} +4 -4
- package/dist/esm/AccordionPanel.js +17 -17
- package/dist/esm/AdSlot.js +5 -5
- package/dist/esm/AdSlotsProvider.js +10 -902
- package/dist/esm/AlgoliaSearch.js +347 -238
- package/dist/esm/AlphabeticList.js +13 -13
- package/dist/esm/ArticleCarousel.js +8 -8
- package/dist/esm/ArticleProgramLandingPage.js +20 -20
- package/dist/esm/ArticleSeriesLandingPage.js +17 -17
- package/dist/esm/ArticleSeriesListing.js +36 -36
- package/dist/esm/Auth.js +216 -1180
- package/dist/esm/AuthWrapper.js +121 -44
- package/dist/esm/{AuthorComponent-34b16174.js → AuthorComponent-8ffd4679.js} +10 -10
- package/dist/esm/{BlockContent-e9b4ddcf.js → BlockContent-d05b5b23.js} +4 -4
- package/dist/esm/Breadcrumbs.js +11 -11
- package/dist/esm/CMEDeck.js +61 -61
- package/dist/esm/Column1.js +9 -9
- package/dist/esm/Column2.js +17 -17
- package/dist/esm/Column3.js +30 -30
- package/dist/esm/ConferenceArticleCard.js +15 -15
- package/dist/esm/{ConferenceBanner-8792ebd2.js → ConferenceBanner-9162d0ca.js} +4 -4
- package/dist/esm/DeckContent.js +68 -68
- package/dist/esm/DeckQueue.js +64 -64
- package/dist/esm/{Dfp-b7236041.js → Dfp-2f9796e1.js} +10 -10
- package/dist/esm/EventsDeck.js +92 -92
- package/dist/esm/ExternalResources.js +41 -41
- package/dist/esm/Feature.js +17 -17
- package/dist/esm/ForbesHero.js +28 -28
- package/dist/esm/GridContent.js +172 -172
- package/dist/esm/GridHero.js +29 -29
- package/dist/esm/GroupDeck.js +36 -36
- package/dist/esm/HamMagazine.js +91 -91
- package/dist/esm/Header.js +8 -8
- package/dist/esm/Hero.js +7 -7
- package/dist/esm/HighlightenVideo.js +14 -14
- package/dist/esm/HorizontalArticleListing.js +34 -34
- package/dist/esm/HorizontalHero.js +21 -21
- package/dist/esm/IssueContentDeck.js +53 -53
- package/dist/esm/IssueDeck.js +54 -54
- package/dist/esm/IssueLanding.js +26 -26
- package/dist/esm/LeftNav.js +16 -16
- package/dist/esm/MasterDeck.js +46 -46
- package/dist/esm/MediaSeriesLanding.js +450 -506
- package/dist/esm/NavDvm.js +46 -46
- package/dist/esm/{NavFooter-e27bd93b.js → NavFooter-c29526b7.js} +12 -12
- package/dist/esm/NavMagazine.js +93 -93
- package/dist/esm/NavNative.js +83 -83
- package/dist/esm/OncliveHero.js +14 -15
- package/dist/esm/OncliveLargeHero.js +52 -52
- package/dist/esm/PageFilter.js +6 -6
- package/dist/esm/PartnerDetailListing.js +130 -1227
- package/dist/esm/PdfDownload.js +6 -6
- package/dist/esm/PopUpModal.js +8 -8
- package/dist/esm/PubSection.js +17 -17
- package/dist/esm/PubToc.js +5 -5
- package/dist/esm/PublicationDeck.js +51 -51
- package/dist/esm/PublicationLanding.js +69 -69
- package/dist/esm/QueueDeckExpanded.js +251 -251
- package/dist/esm/RecentNews.js +17 -17
- package/dist/esm/RelatedContent.js +17 -17
- package/dist/esm/RelatedTopicsDropdown.js +11 -11
- package/dist/esm/RolesDeck.js +25 -25
- package/dist/esm/Search.js +7 -7
- package/dist/esm/SeriesListingDeck.js +20 -20
- package/dist/esm/{SeriesSlider-a866bb21.js → SeriesSlider-7d89f4d9.js} +24 -24
- package/dist/esm/SideFooter.js +19 -19
- package/dist/esm/SocialIcons.js +7 -7
- package/dist/esm/{SocialSearchComponent-03c3e869.js → SocialSearchComponent-47815365.js} +28 -28
- package/dist/esm/SocialShare.js +25 -25
- package/dist/esm/TaxonomyCard.js +50 -50
- package/dist/esm/TaxonomyDescription.js +16 -16
- package/dist/esm/TemplateNormal.js +31 -31
- package/dist/esm/ThumbnailCard.js +10 -10
- package/dist/esm/Ustream.js +18 -18
- package/dist/esm/VerticalHero.js +13 -13
- package/dist/esm/VideoProgramLandingPage.js +32 -32
- package/dist/esm/VideoSeriesCard.js +17 -17
- package/dist/esm/VideoSeriesFilter.js +6 -6
- package/dist/esm/VideoSeriesLandingPage.js +17 -17
- package/dist/esm/VideoSeriesListing.js +53 -53
- package/dist/esm/View.js +184 -182
- package/dist/esm/YahooHero.js +25 -25
- package/dist/esm/YoutubeGroup.js +35 -35
- package/dist/esm/{brightcove-react-player-loader.es-83f53e4e.js → brightcove-react-player-loader.es-4abff0b1.js} +7 -6
- package/dist/esm/faundadb.js +1 -1
- package/dist/esm/getRelatedArticle.js +62 -126
- package/dist/esm/getSerializers.js +11 -11
- package/dist/esm/{index-73819142.js → index-51a80699.js} +20 -19
- package/dist/esm/{index-5f7e79e7.js → index-6c12bdd5.js} +4 -4
- package/dist/esm/{index-ef6d5dcf.js → index-c00b0bbb.js} +16 -17
- package/dist/esm/{index-a1c5f00a.js → index-cf54da7f.js} +904 -887
- package/dist/esm/{index-41a678ea.js → index-f7fb1e25.js} +3 -3
- 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-8ee5ff72.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 +51 -49
- package/dist/esm/{inherits-cf8dde54.js → inherits-75d45541.js} +1 -1
- package/dist/esm/{lodash-17fdfebb.js → lodash-ec8c6b48.js} +71 -22
- package/dist/esm/{main-e4a934b2.js → main-747e7d25.js} +87 -52
- package/dist/esm/{md5-9be0e905.js → md5-4e42248e.js} +1 -1
- package/dist/esm/{moment-e2f9b20c.js → moment-b6f49411.js} +10 -8
- package/dist/esm/{react-social-icons-a7d5c5c7.js → react-social-icons-3822f1ce.js} +5 -5
- package/dist/esm/timeDifferenceCalc.js +1 -1
- package/dist/esm/{typeof-6435ba1c.js → typeof-af9c50d8.js} +1 -1
- package/dist/esm/urlFor.js +1 -1
- package/dist/esm/{visibility-sensor-72fd8f8b.js → visibility-sensor-f40c2564.js} +2 -2
- package/package.json +1 -1
- package/dist/cjs/ConferenceBanner-4a16fddc.js +0 -23
- package/dist/cjs/inherits-8d29278d.js +0 -110
- package/dist/esm/inherits-77d5e4fc.js +0 -101
package/dist/esm/View.js
CHANGED
|
@@ -8,29 +8,29 @@ import './core.get-iterator-method-e1de7503.js';
|
|
|
8
8
|
import './_object-pie-33c40e79.js';
|
|
9
9
|
import { _ as _extends, a as _Object$assign } from './extends-6f2fcc99.js';
|
|
10
10
|
import './_object-sap-964b6feb.js';
|
|
11
|
-
import './inherits-
|
|
11
|
+
import './inherits-75d45541.js';
|
|
12
12
|
import './define-property-8af5f002.js';
|
|
13
13
|
import './web.dom.iterable-4439f05a.js';
|
|
14
|
-
import { _ as _typeof } from './typeof-
|
|
14
|
+
import { _ as _typeof } from './typeof-af9c50d8.js';
|
|
15
15
|
import './_is-array-58e95429.js';
|
|
16
|
-
import
|
|
16
|
+
import React, { useState, useRef, useEffect, forwardRef } from 'react';
|
|
17
17
|
import './events-6c3a7a63.js';
|
|
18
|
-
import { l as lib_3 } from './index-
|
|
18
|
+
import { l as lib_3 } from './index-f7fb1e25.js';
|
|
19
19
|
import 'prop-types';
|
|
20
20
|
import 'react-bootstrap/Row';
|
|
21
21
|
import 'react-bootstrap/Col';
|
|
22
|
-
import { m as moment } from './moment-
|
|
22
|
+
import { m as moment } from './moment-b6f49411.js';
|
|
23
23
|
import { useRouter } from 'next/router';
|
|
24
24
|
import './isSymbol-1981418f.js';
|
|
25
25
|
import './debounce-9207d8ee.js';
|
|
26
26
|
import './toNumber-2f7a84cd.js';
|
|
27
|
-
import { I as InfiniteScroll } from './index.es-
|
|
27
|
+
import { I as InfiniteScroll } from './index.es-c6222053.js';
|
|
28
28
|
import 'react-dom';
|
|
29
|
-
import { V as VisibilitySensor } from './visibility-sensor-
|
|
30
|
-
import './index-
|
|
29
|
+
import { V as VisibilitySensor } from './visibility-sensor-f40c2564.js';
|
|
30
|
+
import './index-51a80699.js';
|
|
31
31
|
import urlFor from './urlFor.js';
|
|
32
|
-
import './index-
|
|
33
|
-
import { m as
|
|
32
|
+
import './index-6c12bdd5.js';
|
|
33
|
+
import { m as main_40 } from './main-747e7d25.js';
|
|
34
34
|
import './entities-7cc3bf45.js';
|
|
35
35
|
import { a as _getIterator, _ as _slicedToArray } from './slicedToArray-641f241f.js';
|
|
36
36
|
import { _ as _JSON$stringify } from './stringify-4330ccdc.js';
|
|
@@ -38,17 +38,17 @@ import { a as _asyncToGenerator, r as regenerator } from './asyncToGenerator-fc1
|
|
|
38
38
|
import './Segment.js';
|
|
39
39
|
import './Beam.js';
|
|
40
40
|
import DFPAdSlot from './AdSlot.js';
|
|
41
|
-
import Button
|
|
42
|
-
import { B as BlockContent } from './BlockContent-
|
|
41
|
+
import Button from 'react-bootstrap/Button';
|
|
42
|
+
import { B as BlockContent } from './BlockContent-d05b5b23.js';
|
|
43
43
|
import './index-c7e2ac95.js';
|
|
44
44
|
import './smoothscroll-0cd4c7a6.js';
|
|
45
45
|
import './GroupDeck.js';
|
|
46
46
|
import 'react-bootstrap';
|
|
47
47
|
import './iconBase-602d52fe.js';
|
|
48
|
-
import './index.esm-
|
|
49
|
-
import { r as renderAuthor, g as getSerializers } from './index-
|
|
48
|
+
import './index.esm-3fdda599.js';
|
|
49
|
+
import { r as renderAuthor, g as getSerializers } from './index-cf54da7f.js';
|
|
50
50
|
import './util-7700fc59.js';
|
|
51
|
-
import './brightcove-react-player-loader.es-
|
|
51
|
+
import './brightcove-react-player-loader.es-4abff0b1.js';
|
|
52
52
|
import Head from 'next/head';
|
|
53
53
|
import 'react-share';
|
|
54
54
|
import SocialShare from './SocialShare.js';
|
|
@@ -62,12 +62,12 @@ import Form from 'react-bootstrap/Form';
|
|
|
62
62
|
import FormControl from 'react-bootstrap/FormControl';
|
|
63
63
|
import { _ as _Object$keys } from './keys-8eda7a5c.js';
|
|
64
64
|
import 'react-bootstrap/Dropdown';
|
|
65
|
-
import { b as FaMinus, c as FaPlus } from './index.esm-
|
|
65
|
+
import { b as FaMinus, c as FaPlus } from './index.esm-a8ff922c.js';
|
|
66
66
|
import getSeriesDetail from './getSeriesDetail.js';
|
|
67
67
|
import './index-db3bb315.js';
|
|
68
68
|
import getRelatedArticle from './getRelatedArticle.js';
|
|
69
69
|
import getQuery from './getQuery.js';
|
|
70
|
-
import { S as SeriesSlider } from './SeriesSlider-
|
|
70
|
+
import { S as SeriesSlider } from './SeriesSlider-7d89f4d9.js';
|
|
71
71
|
import { g as getTargeting, a as getContentPlacementUrl } from './getTargeting-bd800589.js';
|
|
72
72
|
import getKeywords from './getKeywords.js';
|
|
73
73
|
import { s as styleInject } from './style-inject.es-1f59c1d0.js';
|
|
@@ -149,17 +149,17 @@ var DocumentGroup = function DocumentGroup(_ref) {
|
|
|
149
149
|
thumbnailUrl = urlFor({ client: client, source: article.documentGroup.thumbnail });
|
|
150
150
|
}
|
|
151
151
|
|
|
152
|
-
return
|
|
152
|
+
return React.createElement(
|
|
153
153
|
'a',
|
|
154
154
|
{
|
|
155
155
|
href: url,
|
|
156
156
|
className: 'doc-group',
|
|
157
157
|
style: { display: 'flex', flexDirection: 'column', padding: '0 1rem', justifyContent: thumbnailUrl ? 'center' : 'flex-start', alignItems: 'center' } },
|
|
158
|
-
thumbnailUrl &&
|
|
159
|
-
!thumbnailUrl &&
|
|
160
|
-
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' :
|
|
158
|
+
thumbnailUrl && React.createElement('img', { style: { maxWidth: '220px', maxHeight: '100px', marginTop: '1rem' }, src: thumbnailUrl, alt: name }),
|
|
159
|
+
!thumbnailUrl && React.createElement('p', {
|
|
160
|
+
style: { maxWidth: '315px', margin: '0', color: 'var(--primary)', textAlign: thumbnailUrl ? 'center' : main_40 ? 'left' : 'right', marginTop: '.25rem' },
|
|
161
161
|
dangerouslySetInnerHTML: { __html: name } }),
|
|
162
|
-
|
|
162
|
+
main_40 && !thumbnailUrl && React.createElement(
|
|
163
163
|
'style',
|
|
164
164
|
{ jsx: 'true' },
|
|
165
165
|
'\n a.doc-group {\n display: block !important;\n padding: 0 !important;\n }\n '
|
|
@@ -299,38 +299,38 @@ var ISI = function ISI(props) {
|
|
|
299
299
|
}, 300);
|
|
300
300
|
}
|
|
301
301
|
};
|
|
302
|
-
return
|
|
303
|
-
|
|
302
|
+
return React.createElement(
|
|
303
|
+
React.Fragment,
|
|
304
304
|
null,
|
|
305
|
-
|
|
305
|
+
React.createElement(
|
|
306
306
|
'div',
|
|
307
307
|
{ id: 'isi', ref: isi },
|
|
308
|
-
|
|
308
|
+
React.createElement(
|
|
309
309
|
'div',
|
|
310
310
|
{ id: 'isiContent' },
|
|
311
|
-
|
|
311
|
+
React.createElement(
|
|
312
312
|
'div',
|
|
313
313
|
{ onClick: function onClick() {
|
|
314
314
|
return setActive(function (prev) {
|
|
315
315
|
return !prev;
|
|
316
316
|
});
|
|
317
317
|
}, id: 'isiToggle' },
|
|
318
|
-
active ?
|
|
318
|
+
active ? React.createElement(
|
|
319
319
|
'p',
|
|
320
320
|
null,
|
|
321
321
|
'Close ',
|
|
322
|
-
|
|
323
|
-
) :
|
|
322
|
+
React.createElement(FaMinus, null)
|
|
323
|
+
) : React.createElement(
|
|
324
324
|
'p',
|
|
325
325
|
null,
|
|
326
326
|
'See More ',
|
|
327
|
-
|
|
327
|
+
React.createElement(FaPlus, null)
|
|
328
328
|
)
|
|
329
329
|
),
|
|
330
330
|
children
|
|
331
331
|
)
|
|
332
332
|
),
|
|
333
|
-
|
|
333
|
+
React.createElement(
|
|
334
334
|
'style',
|
|
335
335
|
{ jsx: true },
|
|
336
336
|
'\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 '
|
|
@@ -352,33 +352,33 @@ var RelatedArticle = function RelatedArticle(_ref) {
|
|
|
352
352
|
if (!articles || articles.length == 0 || !articles[0]) {
|
|
353
353
|
return null;
|
|
354
354
|
}
|
|
355
|
-
return
|
|
355
|
+
return React.createElement(
|
|
356
356
|
'div',
|
|
357
357
|
{ className: styles.mediaContainer },
|
|
358
358
|
articles.map(function (article, index) {
|
|
359
|
-
return
|
|
359
|
+
return React.createElement(
|
|
360
360
|
'div',
|
|
361
361
|
{ id: 'related-card', key: index, className: styles.mediaCard },
|
|
362
|
-
|
|
362
|
+
React.createElement(
|
|
363
363
|
'a',
|
|
364
364
|
{ className: styles.imgWrapper, href: '/view/' + (article.url ? article.url.current : '') },
|
|
365
|
-
article.thumbnail ?
|
|
365
|
+
article.thumbnail ? React.createElement('img', {
|
|
366
366
|
style: { objectFit: 'cover', objectPosition: 'center' },
|
|
367
367
|
src: article.thumbnail && urlFor({ client: client, source: article.thumbnail.asset, imageWidth: 250 }),
|
|
368
368
|
alt: article.title
|
|
369
|
-
}) :
|
|
370
|
-
|
|
369
|
+
}) : React.createElement(
|
|
370
|
+
React.Fragment,
|
|
371
371
|
null,
|
|
372
|
-
fallbackImage && showRelatedArticleFallbackImage &&
|
|
372
|
+
fallbackImage && showRelatedArticleFallbackImage && React.createElement('img', { src: fallbackImage, alt: 'website logo', style: { objectFit: 'contain' } })
|
|
373
373
|
)
|
|
374
374
|
),
|
|
375
|
-
|
|
375
|
+
React.createElement(
|
|
376
376
|
'div',
|
|
377
377
|
{ className: styles.mediaBody },
|
|
378
|
-
|
|
378
|
+
React.createElement(
|
|
379
379
|
'a',
|
|
380
380
|
{ href: '/view/' + (article.url ? article.url.current : '') },
|
|
381
|
-
|
|
381
|
+
React.createElement(
|
|
382
382
|
'div',
|
|
383
383
|
{ className: styles.cardTitle },
|
|
384
384
|
article.title
|
|
@@ -512,7 +512,7 @@ function generateSchema(props) {
|
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
var Schema = function Schema(props) {
|
|
515
|
-
return
|
|
515
|
+
return React.createElement('script', { type: 'application/ld+json', dangerouslySetInnerHTML: { __html: _JSON$stringify(generateSchema(props)) } });
|
|
516
516
|
};
|
|
517
517
|
|
|
518
518
|
var Article = forwardRef(function (props, ref) {
|
|
@@ -581,6 +581,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
581
581
|
videoAccountIDs = props.videoAccountIDs,
|
|
582
582
|
drupalLeadSettings = props.drupalLeadSettings,
|
|
583
583
|
currentPage = props.currentPage,
|
|
584
|
+
_props$showAuthorDeta = props.showAuthorDetails,
|
|
585
|
+
showAuthorDetails = _props$showAuthorDeta === undefined ? true : _props$showAuthorDeta,
|
|
584
586
|
_props$article = props.article,
|
|
585
587
|
title = _props$article.title,
|
|
586
588
|
_props$article$passwo = _props$article.passwordLock,
|
|
@@ -703,7 +705,7 @@ var Article = forwardRef(function (props, ref) {
|
|
|
703
705
|
};
|
|
704
706
|
var renderAuthorBiography = function renderAuthorBiography(biography) {
|
|
705
707
|
if (biography) {
|
|
706
|
-
return
|
|
708
|
+
return React.createElement(BlockContent, _extends({
|
|
707
709
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, contextualADFlag),
|
|
708
710
|
blocks: [biography]
|
|
709
711
|
}, client.config()));
|
|
@@ -713,9 +715,9 @@ var Article = forwardRef(function (props, ref) {
|
|
|
713
715
|
var url = article.url.current;
|
|
714
716
|
|
|
715
717
|
if (regionalPages && ISIContent && regionalPages.includes(url)) {
|
|
716
|
-
return
|
|
718
|
+
return React.createElement(ISIContent, null);
|
|
717
719
|
} else if (nationalPage === url && ISIContent) {
|
|
718
|
-
return
|
|
720
|
+
return React.createElement(ISIContent, { national: true });
|
|
719
721
|
}
|
|
720
722
|
return null;
|
|
721
723
|
};
|
|
@@ -749,19 +751,19 @@ var Article = forwardRef(function (props, ref) {
|
|
|
749
751
|
relatedLinks = [].concat(_toConsumableArray(relatedLinks), [{ label: issueGroup.name, href: issueMapping + '/' + issueGroup.parent.identifier.current + '/' + issueGroup.identifier.current }]);
|
|
750
752
|
}
|
|
751
753
|
if (relatedLinks && relatedLinks.length > 0) {
|
|
752
|
-
return
|
|
754
|
+
return React.createElement(
|
|
753
755
|
'div',
|
|
754
756
|
null,
|
|
755
757
|
relatedLinks.map(function (relatedLink, index) {
|
|
756
|
-
return
|
|
758
|
+
return React.createElement(
|
|
757
759
|
'span',
|
|
758
760
|
{ key: index, className: 'related-link' },
|
|
759
|
-
|
|
761
|
+
React.createElement(
|
|
760
762
|
'a',
|
|
761
763
|
{ className: 'related-links', style: { color: 'blue' }, href: relatedLink.href },
|
|
762
764
|
relatedLink.label
|
|
763
765
|
),
|
|
764
|
-
|
|
766
|
+
React.createElement(
|
|
765
767
|
'style',
|
|
766
768
|
{ jsx: 'true' },
|
|
767
769
|
'\n .related-link:not(:first-child):before {\n content: \' | \';\n }\n '
|
|
@@ -776,23 +778,23 @@ var Article = forwardRef(function (props, ref) {
|
|
|
776
778
|
};
|
|
777
779
|
|
|
778
780
|
var RelatedContent = function RelatedContent() {
|
|
779
|
-
return
|
|
781
|
+
return React.createElement(
|
|
780
782
|
'section',
|
|
781
783
|
{ id: 'related-content-section', className: 'my-1' },
|
|
782
|
-
(article.relatedArticle || RelevantTopics()) &&
|
|
784
|
+
(article.relatedArticle || RelevantTopics()) && React.createElement(
|
|
783
785
|
'p',
|
|
784
786
|
{ className: 'mb-0' },
|
|
785
|
-
|
|
787
|
+
React.createElement(
|
|
786
788
|
'b',
|
|
787
789
|
null,
|
|
788
790
|
'Related Content:'
|
|
789
791
|
)
|
|
790
792
|
),
|
|
791
|
-
|
|
792
|
-
|
|
793
|
+
React.createElement(RelevantTopics, null),
|
|
794
|
+
React.createElement(
|
|
793
795
|
'div',
|
|
794
796
|
{ className: 'pt-2' },
|
|
795
|
-
|
|
797
|
+
React.createElement(RelatedArticle, {
|
|
796
798
|
articles: article.relatedArticle,
|
|
797
799
|
client: client,
|
|
798
800
|
fallbackImage: props.Settings.logo,
|
|
@@ -803,29 +805,29 @@ var Article = forwardRef(function (props, ref) {
|
|
|
803
805
|
};
|
|
804
806
|
|
|
805
807
|
var form = function form() {
|
|
806
|
-
return
|
|
807
|
-
|
|
808
|
+
return React.createElement(
|
|
809
|
+
React.Fragment,
|
|
808
810
|
null,
|
|
809
|
-
|
|
811
|
+
React.createElement(
|
|
810
812
|
Head,
|
|
811
813
|
null,
|
|
812
|
-
|
|
814
|
+
React.createElement('meta', { name: 'googlebot', content: 'noindex' })
|
|
813
815
|
),
|
|
814
|
-
|
|
816
|
+
React.createElement(
|
|
815
817
|
'div',
|
|
816
818
|
{ className: 'mt-5', style: { display: 'flex', justifyContent: 'center', alignItems: 'center' } },
|
|
817
|
-
|
|
819
|
+
React.createElement(
|
|
818
820
|
Form,
|
|
819
821
|
{
|
|
820
822
|
inline: true,
|
|
821
823
|
onSubmit: function onSubmit(e) {
|
|
822
824
|
e.preventDefault();
|
|
823
825
|
} },
|
|
824
|
-
|
|
826
|
+
React.createElement(FormControl, { type: 'text', className: 'mr-sm-2', value: passwordKey, onChange: function onChange(e) {
|
|
825
827
|
return setPasswordKey(e.target.value);
|
|
826
828
|
}, placeholder: 'Password' }),
|
|
827
|
-
|
|
828
|
-
Button
|
|
829
|
+
React.createElement(
|
|
830
|
+
Button,
|
|
829
831
|
{
|
|
830
832
|
variant: 'primary',
|
|
831
833
|
onClick: function onClick() {
|
|
@@ -874,31 +876,31 @@ var Article = forwardRef(function (props, ref) {
|
|
|
874
876
|
setContextualADFlag(true);
|
|
875
877
|
}
|
|
876
878
|
};
|
|
877
|
-
return
|
|
878
|
-
|
|
879
|
+
return React.createElement(
|
|
880
|
+
React.Fragment,
|
|
879
881
|
null,
|
|
880
|
-
|
|
882
|
+
React.createElement(BlockContent, _extends({
|
|
881
883
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
882
884
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, selectedIndex))),
|
|
883
885
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
884
886
|
}, client.config())),
|
|
885
|
-
|
|
886
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
887
|
-
|
|
887
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
888
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
889
|
+
React.createElement(
|
|
888
890
|
'div',
|
|
889
891
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
890
|
-
|
|
892
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
891
893
|
refreshFlag: refreshFlag
|
|
892
894
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
893
895
|
}))
|
|
894
896
|
),
|
|
895
|
-
|
|
896
|
-
|
|
897
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
898
|
+
React.createElement(
|
|
897
899
|
'div',
|
|
898
900
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
899
|
-
|
|
901
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: checkIsVideoAdFound }))
|
|
900
902
|
),
|
|
901
|
-
|
|
903
|
+
React.createElement(BlockContent, _extends({
|
|
902
904
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
903
905
|
blocks: [].concat(_toConsumableArray(articleBody.slice(selectedIndex))),
|
|
904
906
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -923,26 +925,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
923
925
|
if (seriesInfo.hasVideo) {
|
|
924
926
|
_selectedIndex = seriesInfo.videoIndex;
|
|
925
927
|
}
|
|
926
|
-
return
|
|
927
|
-
|
|
928
|
+
return React.createElement(
|
|
929
|
+
React.Fragment,
|
|
928
930
|
null,
|
|
929
|
-
|
|
931
|
+
React.createElement(BlockContent, _extends({
|
|
930
932
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
931
933
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex))),
|
|
932
934
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
933
935
|
}, client.config())),
|
|
934
|
-
contextualADFlag &&
|
|
935
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
936
|
-
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) &&
|
|
936
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
937
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
938
|
+
(visibleFlag || queueData && queueData.length === 1 || !props.infiniteScroll) && React.createElement(
|
|
937
939
|
'div',
|
|
938
940
|
{ id: 'contextual-native-ad-' + payload._id, className: 'contextual-native-ad' },
|
|
939
|
-
|
|
941
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualAD, {
|
|
940
942
|
refreshFlag: refreshFlag
|
|
941
943
|
// checkIsAdFound={previewAd ? null : checkIsAdFound}
|
|
942
944
|
}))
|
|
943
945
|
),
|
|
944
|
-
contextualADFlag &&
|
|
945
|
-
|
|
946
|
+
contextualADFlag && React.createElement('span', { className: 'clearfix' }),
|
|
947
|
+
React.createElement(BlockContent, _extends({
|
|
946
948
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
947
949
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex))),
|
|
948
950
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -972,22 +974,22 @@ var Article = forwardRef(function (props, ref) {
|
|
|
972
974
|
}
|
|
973
975
|
};
|
|
974
976
|
|
|
975
|
-
return
|
|
976
|
-
|
|
977
|
+
return React.createElement(
|
|
978
|
+
React.Fragment,
|
|
977
979
|
null,
|
|
978
|
-
|
|
980
|
+
React.createElement(BlockContent, _extends({
|
|
979
981
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, contextualADFlag, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
980
982
|
blocks: [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex2))),
|
|
981
983
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
982
984
|
}, client.config())),
|
|
983
|
-
|
|
984
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
985
|
-
|
|
985
|
+
React.createElement('span', { className: 'clearfix' }),
|
|
986
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
987
|
+
React.createElement(
|
|
986
988
|
'div',
|
|
987
989
|
{ id: 'contextual-video-ad-' + payload._id, className: 'contextual-video-ad' },
|
|
988
|
-
|
|
990
|
+
React.createElement(DFPAdSlot, _extends({}, payload.contextualVideoAD, { refreshFlag: refreshFlag, checkIsAdFound: _checkIsAdFound2 }))
|
|
989
991
|
),
|
|
990
|
-
|
|
992
|
+
React.createElement(BlockContent, _extends({
|
|
991
993
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
992
994
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex2))),
|
|
993
995
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -999,16 +1001,16 @@ var Article = forwardRef(function (props, ref) {
|
|
|
999
1001
|
_selectedIndex3 = seriesInfo.videoIndex;
|
|
1000
1002
|
}
|
|
1001
1003
|
|
|
1002
|
-
return
|
|
1004
|
+
return React.createElement(
|
|
1003
1005
|
'div',
|
|
1004
1006
|
null,
|
|
1005
|
-
|
|
1007
|
+
React.createElement(BlockContent, _extends({
|
|
1006
1008
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, false, null, props.article.Ads, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1007
1009
|
blocks: article.documentGroup && article.documentGroup.isSeries ? [].concat(_toConsumableArray(articleBody.slice(0, _selectedIndex3))) : articleBody,
|
|
1008
1010
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
1009
1011
|
}, client.config())),
|
|
1010
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo &&
|
|
1011
|
-
article.documentGroup && article.documentGroup.isSeries &&
|
|
1012
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && seriesInfo.hasVideo && React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true }),
|
|
1013
|
+
article.documentGroup && article.documentGroup.isSeries && React.createElement(BlockContent, _extends({
|
|
1012
1014
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, isMediaSeries, null, null, null, targeting, article, meta, authorPrefix, authorImgHeight),
|
|
1013
1015
|
blocks: [].concat(_toConsumableArray(articleBody.slice(_selectedIndex3))),
|
|
1014
1016
|
imageOptions: { w: 320, h: 240, fit: 'max' }
|
|
@@ -1094,10 +1096,10 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1094
1096
|
var isMediaSeries = article.documentGroup && article.documentGroup.isSeries ? true : false;
|
|
1095
1097
|
var seriesInfo = checkIfMediaSeriesHasVideo(article);
|
|
1096
1098
|
|
|
1097
|
-
return
|
|
1098
|
-
|
|
1099
|
+
return React.createElement(
|
|
1100
|
+
React.Fragment,
|
|
1099
1101
|
null,
|
|
1100
|
-
|
|
1102
|
+
React.createElement(
|
|
1101
1103
|
VisibilitySensor,
|
|
1102
1104
|
{
|
|
1103
1105
|
partialVisibility: true,
|
|
@@ -1110,44 +1112,44 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1110
1112
|
});
|
|
1111
1113
|
}
|
|
1112
1114
|
} },
|
|
1113
|
-
|
|
1115
|
+
React.createElement(
|
|
1114
1116
|
'div',
|
|
1115
1117
|
{ id: 'article__block', ref: ref },
|
|
1116
|
-
|
|
1118
|
+
React.createElement(
|
|
1117
1119
|
'div',
|
|
1118
1120
|
{ className: 'video-detail', style: { marginBottom: isCutomPage(props.article) || showIsi && Array.isArray(isi) && isi.length > 0 ? '15rem' : 0 } },
|
|
1119
1121
|
isVideoSeries && renderBlockContent(article, meta, authorImgHeight),
|
|
1120
|
-
!isVideoSeries &&
|
|
1122
|
+
!isVideoSeries && React.createElement(
|
|
1121
1123
|
'div',
|
|
1122
1124
|
null,
|
|
1123
|
-
isMediaSeries && article.documentGroup && article.documentGroup.name &&
|
|
1125
|
+
isMediaSeries && article.documentGroup && article.documentGroup.name && React.createElement(
|
|
1124
1126
|
'p',
|
|
1125
1127
|
{ style: { fontSize: '14px' } },
|
|
1126
1128
|
article.documentGroup.name,
|
|
1127
1129
|
' - Episode ',
|
|
1128
1130
|
episodeNumber
|
|
1129
1131
|
),
|
|
1130
|
-
|
|
1132
|
+
React.createElement(
|
|
1131
1133
|
'h1',
|
|
1132
1134
|
{ className: 'page-title', style: { fontSize: '1.9rem' } },
|
|
1133
1135
|
title
|
|
1134
1136
|
)
|
|
1135
1137
|
),
|
|
1136
|
-
|
|
1138
|
+
React.createElement(
|
|
1137
1139
|
'div',
|
|
1138
1140
|
{ className: 'mb-3 doc-group-container', style: { display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end' } },
|
|
1139
|
-
|
|
1141
|
+
React.createElement(
|
|
1140
1142
|
'style',
|
|
1141
1143
|
{ jsx: 'true' },
|
|
1142
1144
|
'\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 '
|
|
1143
1145
|
),
|
|
1144
|
-
|
|
1146
|
+
React.createElement(
|
|
1145
1147
|
'div',
|
|
1146
1148
|
{ className: 'left-wrap' },
|
|
1147
|
-
!isVideoSeries && showPublished &&
|
|
1149
|
+
!isVideoSeries && showPublished && React.createElement(
|
|
1148
1150
|
'div',
|
|
1149
1151
|
null,
|
|
1150
|
-
|
|
1152
|
+
React.createElement(
|
|
1151
1153
|
'time',
|
|
1152
1154
|
{
|
|
1153
1155
|
'class': 'meta-date',
|
|
@@ -1157,20 +1159,20 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1157
1159
|
)
|
|
1158
1160
|
/* Show Published date */
|
|
1159
1161
|
,
|
|
1160
|
-
|
|
1162
|
+
React.createElement(
|
|
1161
1163
|
'div',
|
|
1162
1164
|
{ className: 'mb-3' },
|
|
1163
1165
|
!isVideoSeries && authorDetails && authorDetails.map(function (authorDetail, index) {
|
|
1164
|
-
return
|
|
1166
|
+
return React.createElement(
|
|
1165
1167
|
'span',
|
|
1166
1168
|
{ key: index },
|
|
1167
|
-
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 }))
|
|
1169
|
+
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)
|
|
1168
1170
|
);
|
|
1169
1171
|
}),
|
|
1170
|
-
|
|
1172
|
+
React.createElement(
|
|
1171
1173
|
'div',
|
|
1172
1174
|
null,
|
|
1173
|
-
source &&
|
|
1175
|
+
source && React.createElement(
|
|
1174
1176
|
'p',
|
|
1175
1177
|
{
|
|
1176
1178
|
style: {
|
|
@@ -1185,13 +1187,13 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1185
1187
|
source
|
|
1186
1188
|
)
|
|
1187
1189
|
),
|
|
1188
|
-
issue &&
|
|
1190
|
+
issue && React.createElement(
|
|
1189
1191
|
'div',
|
|
1190
1192
|
{ className: 'volume-issue' },
|
|
1191
|
-
issue.publication && issue.publication.name &&
|
|
1193
|
+
issue.publication && issue.publication.name && React.createElement(
|
|
1192
1194
|
'span',
|
|
1193
1195
|
{ className: 'mb-0' },
|
|
1194
|
-
|
|
1196
|
+
React.createElement(
|
|
1195
1197
|
'b',
|
|
1196
1198
|
null,
|
|
1197
1199
|
issue.publication.name
|
|
@@ -1199,34 +1201,34 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1199
1201
|
',',
|
|
1200
1202
|
' '
|
|
1201
1203
|
),
|
|
1202
|
-
issue.name &&
|
|
1204
|
+
issue.name && React.createElement(
|
|
1203
1205
|
'span',
|
|
1204
1206
|
{ className: 'mb-0' },
|
|
1205
1207
|
issue.name,
|
|
1206
1208
|
', '
|
|
1207
1209
|
),
|
|
1208
|
-
issue.volume &&
|
|
1210
|
+
issue.volume && React.createElement(
|
|
1209
1211
|
'span',
|
|
1210
1212
|
null,
|
|
1211
1213
|
'Volume ' + issue.volume,
|
|
1212
1214
|
','
|
|
1213
1215
|
),
|
|
1214
|
-
issue.issueNumber &&
|
|
1216
|
+
issue.issueNumber && React.createElement(
|
|
1215
1217
|
'span',
|
|
1216
1218
|
null,
|
|
1217
1219
|
' Issue ' + issue.issueNumber
|
|
1218
1220
|
)
|
|
1219
1221
|
),
|
|
1220
|
-
pageNumber &&
|
|
1222
|
+
pageNumber && React.createElement(
|
|
1221
1223
|
'div',
|
|
1222
1224
|
{ className: 'article-pageNumber' },
|
|
1223
1225
|
'Pages: ' + pageNumber
|
|
1224
1226
|
)
|
|
1225
1227
|
),
|
|
1226
|
-
!isVideoSeries && showSocialShare &&
|
|
1228
|
+
!isVideoSeries && showSocialShare && React.createElement(
|
|
1227
1229
|
'p',
|
|
1228
1230
|
null,
|
|
1229
|
-
|
|
1231
|
+
React.createElement(SocialShare, {
|
|
1230
1232
|
shareUrl: shareUrl,
|
|
1231
1233
|
shareTitle: shareTitle,
|
|
1232
1234
|
shareVia: shareVia,
|
|
@@ -1242,27 +1244,27 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1242
1244
|
})
|
|
1243
1245
|
)
|
|
1244
1246
|
),
|
|
1245
|
-
|
|
1247
|
+
React.createElement(
|
|
1246
1248
|
'div',
|
|
1247
1249
|
null,
|
|
1248
|
-
|
|
1250
|
+
React.createElement(DocumentGroup, { article: props.article, client: props.client })
|
|
1249
1251
|
)
|
|
1250
1252
|
),
|
|
1251
|
-
!isVideoSeries && summary && display_summary &&
|
|
1253
|
+
!isVideoSeries && summary && display_summary && React.createElement(
|
|
1252
1254
|
'p',
|
|
1253
1255
|
null,
|
|
1254
|
-
|
|
1256
|
+
React.createElement(
|
|
1255
1257
|
'em',
|
|
1256
1258
|
null,
|
|
1257
1259
|
summary
|
|
1258
1260
|
)
|
|
1259
1261
|
),
|
|
1260
|
-
|
|
1262
|
+
React.createElement(
|
|
1261
1263
|
'div',
|
|
1262
1264
|
{ className: 'ad-box', style: { textAlign: 'center' } },
|
|
1263
|
-
|
|
1265
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1264
1266
|
if (index === 0) {
|
|
1265
|
-
return
|
|
1267
|
+
return React.createElement(
|
|
1266
1268
|
'div',
|
|
1267
1269
|
{
|
|
1268
1270
|
key: index,
|
|
@@ -1279,24 +1281,24 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1279
1281
|
}
|
|
1280
1282
|
})
|
|
1281
1283
|
),
|
|
1282
|
-
|
|
1284
|
+
React.createElement(
|
|
1283
1285
|
'div',
|
|
1284
1286
|
{ className: 'block-content mt-3' },
|
|
1285
1287
|
!isVideoSeries && renderBlockContent(article, meta),
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
+
React.createElement('div', { className: 'clearfix' }),
|
|
1289
|
+
React.createElement(
|
|
1288
1290
|
'noscript',
|
|
1289
1291
|
null,
|
|
1290
|
-
|
|
1292
|
+
React.createElement(
|
|
1291
1293
|
'div',
|
|
1292
1294
|
{ style: { display: 'flex', justifyContent: 'center' }, className: 'series-links' },
|
|
1293
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1295
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement(
|
|
1294
1296
|
'a',
|
|
1295
1297
|
{ className: 'mx-3', href: props.article.seriesDetail.prevUrl },
|
|
1296
1298
|
'Previous ',
|
|
1297
1299
|
props.article.seriesDetail.type
|
|
1298
1300
|
),
|
|
1299
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1301
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement(
|
|
1300
1302
|
'a',
|
|
1301
1303
|
{ className: 'mx-3', href: props.article.seriesDetail.nextUrl },
|
|
1302
1304
|
'Next ',
|
|
@@ -1304,26 +1306,26 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1304
1306
|
)
|
|
1305
1307
|
)
|
|
1306
1308
|
),
|
|
1307
|
-
issue && issue.url &&
|
|
1309
|
+
issue && issue.url && React.createElement(
|
|
1308
1310
|
'a',
|
|
1309
1311
|
{ rel: 'noopener', href: issue.url, target: '_blank', title: 'Download issue' },
|
|
1310
|
-
|
|
1312
|
+
React.createElement('img', { style: { margin: '1rem', maxHeight: '40px', maxWidth: '40px' }, src: '/download.png', alt: 'download issue' }),
|
|
1311
1313
|
'Download Issue : ',
|
|
1312
1314
|
issue.name
|
|
1313
1315
|
)
|
|
1314
1316
|
),
|
|
1315
|
-
|
|
1316
|
-
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo &&
|
|
1317
|
+
React.createElement('div', { className: 'clearfix', style: { minHeight: '1px' } }),
|
|
1318
|
+
article.documentGroup && article.documentGroup.isSeries && props.sliderData && !seriesInfo.hasVideo && React.createElement(
|
|
1317
1319
|
'div',
|
|
1318
1320
|
null,
|
|
1319
1321
|
false ,
|
|
1320
|
-
|
|
1322
|
+
React.createElement(SeriesSlider, { dataset: props.sliderData, client: client, nowPlaying: article.title, displayEpisodeNumber: true })
|
|
1321
1323
|
),
|
|
1322
|
-
showRelatedArticles && !showIsi &&
|
|
1323
|
-
disqusConfig && showDisqus &&
|
|
1324
|
+
showRelatedArticles && !showIsi && React.createElement(RelatedContent, null),
|
|
1325
|
+
disqusConfig && showDisqus && React.createElement(
|
|
1324
1326
|
'div',
|
|
1325
1327
|
{ id: 'disqusContainer' },
|
|
1326
|
-
|
|
1328
|
+
React.createElement(DiscussionEmbed, {
|
|
1327
1329
|
shortname: disqusConfig.shortname,
|
|
1328
1330
|
config: {
|
|
1329
1331
|
url: disqusConfig.url,
|
|
@@ -1336,30 +1338,30 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1336
1338
|
renderIsiContent(props.article)
|
|
1337
1339
|
)
|
|
1338
1340
|
),
|
|
1339
|
-
showIsi && Array.isArray(isi) && isi.length > 0 &&
|
|
1341
|
+
showIsi && Array.isArray(isi) && isi.length > 0 && React.createElement(
|
|
1340
1342
|
ISI,
|
|
1341
1343
|
null,
|
|
1342
|
-
|
|
1344
|
+
React.createElement(BlockContent, {
|
|
1343
1345
|
serializers: getSerializers(client, pageview, videoAccountIDs, onVote, true, drupalLeadSettings, currentPage, false, false, null, props.article.Ads, targeting),
|
|
1344
1346
|
blocks: isi
|
|
1345
1347
|
})
|
|
1346
1348
|
),
|
|
1347
|
-
|
|
1349
|
+
main_40 && !sponsoredFlag && props.article.Ads && props.article.Ads.length > 0 && props.article.Ads.map(function (ad, index) {
|
|
1348
1350
|
if (index > 0) {
|
|
1349
|
-
return
|
|
1351
|
+
return React.createElement(
|
|
1350
1352
|
'div',
|
|
1351
1353
|
{ key: index, id: 'addid-' + index, style: { display: 'flex', flex: '1 0 auto' } },
|
|
1352
1354
|
ad.component
|
|
1353
1355
|
);
|
|
1354
1356
|
}
|
|
1355
1357
|
}),
|
|
1356
|
-
|
|
1358
|
+
React.createElement(
|
|
1357
1359
|
'noscript',
|
|
1358
1360
|
null,
|
|
1359
|
-
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current &&
|
|
1361
|
+
props.infiniteScroll && props.article.relatedArticle && props.article.relatedArticle[0] && props.article.relatedArticle[0].url && props.article.relatedArticle[0].url.current && React.createElement(
|
|
1360
1362
|
'div',
|
|
1361
1363
|
{ style: { textAlign: 'center' } },
|
|
1362
|
-
|
|
1364
|
+
React.createElement(
|
|
1363
1365
|
'a',
|
|
1364
1366
|
{ href: '/view/' + props.article.relatedArticle[0].url.current },
|
|
1365
1367
|
'Related Article ',
|
|
@@ -1367,8 +1369,8 @@ var Article = forwardRef(function (props, ref) {
|
|
|
1367
1369
|
)
|
|
1368
1370
|
)
|
|
1369
1371
|
),
|
|
1370
|
-
props.infiniteScroll &&
|
|
1371
|
-
|
|
1372
|
+
props.infiniteScroll && React.createElement('hr', { className: 'article-seperater mb-5 mt-3' }),
|
|
1373
|
+
React.createElement(Schema, { article: props.article, Website: props.Website, client: props.client })
|
|
1372
1374
|
);
|
|
1373
1375
|
};
|
|
1374
1376
|
|
|
@@ -1443,7 +1445,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1443
1445
|
return item.url.current === path;
|
|
1444
1446
|
});
|
|
1445
1447
|
var targeting = getTargeting({ article: activeArticle, cpModificationRequired: cpModificationRequired, position: props.position, prevUrl: prevUrl });
|
|
1446
|
-
if (!
|
|
1448
|
+
if (!main_40) {
|
|
1447
1449
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1448
1450
|
if (window.googletag && googletag.pubadsReady) {
|
|
1449
1451
|
var slots = googletag.pubads().getSlots();
|
|
@@ -1460,7 +1462,7 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1460
1462
|
});
|
|
1461
1463
|
}
|
|
1462
1464
|
//Refresh leaderboard ad on mobile
|
|
1463
|
-
if (
|
|
1465
|
+
if (main_40) {
|
|
1464
1466
|
var leaderboardSlotId = '';
|
|
1465
1467
|
lib_3.getGoogletag().then(function (googletag) {
|
|
1466
1468
|
if (window.googletag && googletag.pubadsReady) {
|
|
@@ -1642,14 +1644,14 @@ var ArticleQueue = function ArticleQueue(props) {
|
|
|
1642
1644
|
refreshAD(path);
|
|
1643
1645
|
};
|
|
1644
1646
|
|
|
1645
|
-
return
|
|
1647
|
+
return React.createElement(
|
|
1646
1648
|
InfiniteScroll,
|
|
1647
1649
|
{ dataLength: queueData.length, next: loadmore, scrollThreshold: '40%', hasMore: true, style: { overflow: 'hidden' } },
|
|
1648
1650
|
queueData.map(function (article, index) {
|
|
1649
|
-
return
|
|
1650
|
-
|
|
1651
|
+
return React.createElement(
|
|
1652
|
+
React.Fragment,
|
|
1651
1653
|
null,
|
|
1652
|
-
|
|
1654
|
+
React.createElement(Article, _extends({
|
|
1653
1655
|
key: index
|
|
1654
1656
|
}, props, {
|
|
1655
1657
|
containerHeight: containerHeight,
|
|
@@ -1791,63 +1793,63 @@ var View = function View(props) {
|
|
|
1791
1793
|
|
|
1792
1794
|
var metaDescriptionSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaDescription;
|
|
1793
1795
|
var metaTitleSanity = seoLinks && seoLinks.length == 1 && seoLinks[0].metaTitle;
|
|
1794
|
-
return
|
|
1795
|
-
|
|
1796
|
+
return React.createElement(
|
|
1797
|
+
React.Fragment,
|
|
1796
1798
|
null,
|
|
1797
|
-
|
|
1799
|
+
React.createElement(
|
|
1798
1800
|
Head,
|
|
1799
1801
|
null,
|
|
1800
|
-
|
|
1802
|
+
React.createElement(
|
|
1801
1803
|
'title',
|
|
1802
1804
|
{ key: 'title' },
|
|
1803
1805
|
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 : '')
|
|
1804
1806
|
),
|
|
1805
|
-
metaDescriptionSanity ?
|
|
1806
|
-
|
|
1807
|
-
passwordLock &&
|
|
1808
|
-
|
|
1807
|
+
metaDescriptionSanity ? React.createElement('meta', { name: 'description', key: 'description', content: metaDescriptionSanity }) : meta_description && React.createElement('meta', { name: 'description', key: 'description', content: meta_description }),
|
|
1808
|
+
React.createElement('meta', { name: 'keywords', content: getKeywords(article).join(','), key: 'keywords' }),
|
|
1809
|
+
passwordLock && React.createElement('meta', { name: 'robots', content: 'noindex, nofollow' }),
|
|
1810
|
+
React.createElement('meta', {
|
|
1809
1811
|
property: 'og:url',
|
|
1810
1812
|
content: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1811
1813
|
key: 'og:url'
|
|
1812
1814
|
}),
|
|
1813
|
-
|
|
1815
|
+
React.createElement('meta', {
|
|
1814
1816
|
property: 'og:title',
|
|
1815
1817
|
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 : ''),
|
|
1816
1818
|
key: 'og:title'
|
|
1817
1819
|
}),
|
|
1818
|
-
|
|
1820
|
+
React.createElement('meta', {
|
|
1819
1821
|
property: 'og:image',
|
|
1820
1822
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1821
1823
|
key: 'og:image'
|
|
1822
1824
|
}),
|
|
1823
|
-
|
|
1824
|
-
metaDescriptionSanity ?
|
|
1825
|
-
|
|
1826
|
-
|
|
1825
|
+
React.createElement('meta', { property: 'og:site_name', content: props.Settings.title, key: 'og:site_name' }),
|
|
1826
|
+
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 }),
|
|
1827
|
+
React.createElement('meta', { name: 'twitter:card', content: 'summary', key: 'twitter:card' }),
|
|
1828
|
+
React.createElement('meta', {
|
|
1827
1829
|
name: 'twitter:title',
|
|
1828
1830
|
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 : ''),
|
|
1829
1831
|
key: 'twitter:title'
|
|
1830
1832
|
}),
|
|
1831
|
-
|
|
1833
|
+
React.createElement('meta', {
|
|
1832
1834
|
name: 'twitter:image',
|
|
1833
1835
|
content: seriesShareOptions && seriesShareOptions.seriesThumbnail ? seriesShareOptions.seriesThumbnail : shareOptions.shareImage,
|
|
1834
1836
|
key: 'twitter:image'
|
|
1835
1837
|
}),
|
|
1836
|
-
|
|
1837
|
-
metaDescriptionSanity ?
|
|
1838
|
-
canonicalTag &&
|
|
1838
|
+
React.createElement('meta', { name: 'twitter:site', content: '@' + props.Settings.title, key: 'twitter:site' }),
|
|
1839
|
+
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 }),
|
|
1840
|
+
canonicalTag && React.createElement('link', {
|
|
1839
1841
|
rel: 'canonical',
|
|
1840
1842
|
href: seriesShareOptions && seriesShareOptions.seriesUrl ? shareOptions.shareUrl + seriesShareOptions.seriesUrl : shareOptions.shareUrl,
|
|
1841
1843
|
key: 'canonical'
|
|
1842
1844
|
}),
|
|
1843
|
-
|
|
1845
|
+
React.createElement(
|
|
1844
1846
|
'noscript',
|
|
1845
1847
|
null,
|
|
1846
|
-
props.article.seriesDetail && props.article.seriesDetail.prevUrl &&
|
|
1847
|
-
props.article.seriesDetail && props.article.seriesDetail.nextUrl &&
|
|
1848
|
+
props.article.seriesDetail && props.article.seriesDetail.prevUrl && React.createElement('link', { rel: 'prev', href: props.article.seriesDetail.prevUrl }),
|
|
1849
|
+
props.article.seriesDetail && props.article.seriesDetail.nextUrl && React.createElement('link', { rel: 'next', href: props.article.seriesDetail.nextUrl })
|
|
1848
1850
|
)
|
|
1849
1851
|
),
|
|
1850
|
-
!needInfiniteScroll ?
|
|
1852
|
+
!needInfiniteScroll ? React.createElement(Article, _extends({ infiniteScroll: false, showRelatedArticles: showRelatedArticles, showDisqus: showDisqus }, props)) : React.createElement(ArticleQueue, _extends({
|
|
1851
1853
|
infiniteScroll: true,
|
|
1852
1854
|
showRelatedArticles: showRelatedArticles,
|
|
1853
1855
|
canonicalTag: canonicalTag,
|